This document is about Why battery optimization is necessary and what an android developer needs to focus on. It contains the overview of Battery optimization.
2. Agenda :
Battery optimization and power management .
Why Battery optimization is necessary and what should an android
developer do to reduce the power consumption.
3. There are many apps that helps to clean the
mobile device, this clearly means that there is a
problem with users device.
Battery life is the top most feature requested by
mobile users today
4. So where does the power on your mobile device GO ???
Background Activities
WAKE
LOCKS
NETWORK
ACTIVITIES ,
SYNCS , ETC
Surfing,
chatting,
listening to
music, etc
When your Screen is OFF
When your Screen is ON
5. Google has Provided some Design Techniques.
Reduce Defer Coalesce
Design Principles for the Background Activity.
6. 1. Coalesce : Doze Timeline : When the device is stationary and the screen is OFF.
The First Stage of DOZE in which applications loose the following :
2. Maintenance Window
3. App Standby
8. Apps Unused after sometime. App Standby.
1. App has foreground services
2. There is a notification on Lockscreen
3. App explicitly Launched by User.
1. App loses network Access
2. App’s Sync deferred