How Peek works –
Sensors are fully disabled when screen is on. When you turn the screen off, it will start polling both gyroscope and proximity sensor values. If it detects using the gyroscope sensor that device is lying on a table, it disables proximity polling. If it detects with proximity sensor that it is in your pocket, it disables gyroscope polling. This way, we save some battery from the beginning. Later, when you receive a notification, it enables a partial wakelock (CPU on but at low frequency), and starts listening for movement, either from getting it out your pocket or lifting off from the table. If it detects those events, it will turn on screen and show the notification. Wakelock timeouts on 10 secs, so if you receive a notification and there is no movement in that time, sensors will stop polling after that time, disabling peek interaction until a new notification comes.
Real innovation here and offers something different than the rest of the ROMs out there, right now. We’ll provide the links below for you to test out this great new feature along with a video review we stumbled upon on YouTube.
Visit PA blog: