commit | 04b98338f7c9388889da08b091bf77b5654dc144 | [log] [tgz] |
---|---|---|
author | Salvador Martinez <dehboxturtle@google.com> | Tue Oct 02 11:28:39 2018 -0700 |
committer | Salvador Martinez <dehboxturtle@google.com> | Tue Nov 13 09:29:36 2018 -0800 |
tree | c48107d408d865b2056b270ee838674404e051f2 | |
parent | 1c6deebbbfe2d5edb2f7292660e23b8191d5d768 [diff] |
Create new battery saver mode Creates the concept of a "dynamic" battery saver mode controlled by an external input in the framework. This mode behaves similarly to the current automatic percentage based battery saver minus the fact that the trigger is not static and that we might want to disable it at a different level than when it was triggered. Test: atest BatterySaverStateMachineTest Bug: 111450127 Change-Id: Iac0de4f8f0336ed8870d2397574bd8885b7aa6a2