summaryrefslogtreecommitdiff
path: root/core/java/android/os/BatteryProperty.java
Commit message (Collapse)AuthorAgeFilesLines
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-1/+1
| | | | | | | | | If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
* BatteryService serves IBatteryPropertiesRegistrar.Yifan Hong2017-10-181-0/+7
| | | | | | | | | | | This binder service is originally served by healthd. To allow BatteryManager to continue to work, BatteryService implements this binder service. Test: BatteryManagerTest Bug: 62229583 Change-Id: I9c97b3936546740c6d63060899fe50c5c4c957bd
* BatteryManager: battery property query API updateTodd Poynor2014-06-051-55/+6
| | | | | | | | | Move battery property value accessors to BatteryManager. Hide BatteryProperty class. Bug: 15191190 Change-Id: Ic021e6e28a8bc30c145ccc31b3a3446ba82d2004
* BatteryProperty: Fix ENERGY_COUNTER property idTodd Poynor2014-05-221-1/+1
| | | | Change-Id: I0490c0d589c637744c3db73596d34c1c4772074b
* BatteryManager: Add property ENERGY_COUNTER and long data type propertiesTodd Poynor2014-05-161-10/+20
| | | | Change-Id: Ie7f9b19c5cd47a48bb33af03d51acddaa14b0243
* BatteryManager: Add API and service for battery property retrievalTodd Poynor2014-04-151-9/+54
| | | | | | | | | Add service "batterymanager" and method getProperty to retrieve battery properties. This is a public API. Make BatteryProperty public. Cleanups for public-facing API. Change-Id: I3637d131aabe4811dff40661728d5353eaf854c4
* BatteryProperty: Add battery capacity propertyPaul Lawrence2014-03-201-0/+1
| | | | | | Match change in native code https://googleplex-android-review.git.corp.google.com/#/c/427553/ Change-Id: I0049ccbbef59fbbc0e14b50b9af7481d87a6d48c
* BatteryProperty: Add average current propertyTodd Poynor2013-09-041-0/+1
| | | | Change-Id: I48907708024bddae9770bc1a3f0149ad901075c4
* java-side interface for reading individual battery properties on demandTodd Poynor2013-08-221-0/+69
Change-Id: I60a84ed936f1115fdb122f34986f2e605ae274de