History log of /frameworks/base/services/core/java/com/android/server/power/batterysaver/BatterySaverLocationPlugin.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57f0f5513b593c206d8410922a667c8c5f79b2b8 11-Dec-2017 Makoto Onuki <omakoto@google.com> Battery saver: Expose location power save mode as system API

- Expose the location power save mode as a system API for the fuse
provider to change the behavior.

- Didn't choose to expose PowerManager.getPoserSaveState() because the result
class seems to be a bit ugly...

- Not all the modes are exposed since the two existing saving modes are
implemented within the system server and system apps don't need to know them.

Bug: 68769804
Test: Manual test with a test app
Change-Id: I25d8e68bfb79ebbeefbc241479077389c01e0f25
/frameworks/base/services/core/java/com/android/server/power/batterysaver/BatterySaverLocationPlugin.java
2b186fa2142087cb3bb5d5996febe66b2aaf7aa3 29-Nov-2017 Makoto Onuki <omakoto@google.com> Extreme battery saver: Disable location when screen is off.

Bug: 68769804
Test: manual test
Change-Id: Id93e250e5d189136dd267b21a3977ac95392c50b
/frameworks/base/services/core/java/com/android/server/power/batterysaver/BatterySaverLocationPlugin.java