commit | a8f6ede2db562486a411c157db5d7d0304f7dd44 | [log] [tgz] |
---|---|---|
author | Salvador Martinez <dehboxturtle@google.com> | Mon May 22 13:32:17 2017 -0700 |
committer | Salvador Martinez <dehboxturtle@google.com> | Mon May 22 17:32:29 2017 -0700 |
tree | 3445dad732f8bbb9f887da1a8c38e121d751d733 | |
parent | c4d6ea4100caa7fb3c3d86d153d1afab6205bd76 [diff] |
Update getBatteryInfo to allow drain time override When requesting battery info from settings lib there was no way to specify another source as the source for the time remaining estimate so this CL adds the ability to do that. Similar functionality is also removed from settings since it is no longer needed. Test: robotests Bug: 38399275 Change-Id: I5bf613897ea778f933464c7c22013a50f790fd2f