Code example for PowerManager

Methods: isScreenOn, newWakeLock