History log of /system/core/healthd/BatteryPropertiesRegistrar.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3dec1aa66d111a078c04b5b738daa928816de1af 16-Feb-2017 Adam Lesinski <adamlesinski@google.com> healthd: Implement scheduleUpdate

scheduleUpdate forces a healthd battery update,
which will notify all listeners.
Test: Manual (strace -p $healthd_pid)
Bug: 32645990

Change-Id: I8b19f79b633ca8988f0e3dd5be14757f6421ddcb
/system/core/healthd/BatteryPropertiesRegistrar.h
4df105635b626a894f16eaec92e763b773a5a6e1 28-Jul-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy performance warnings in healthd.

* Use const reference type for parameters to avoid unnecessary copy.

Bug: 30407689
Change-Id: I926ea7b6e9e020a228c812b7e23087a2b7ed9809
Test: build with WITH_TIDY=1
/system/core/healthd/BatteryPropertiesRegistrar.h
e55356486fb16aa74f3b85242ec281ee7dec3fac 06-Jan-2016 Todd Poynor <toddpoynor@google.com> healthd: BatteryPropertiesRegistrar binder service ref count fixup

Call addService using a reference to a strong pointer to the service object,
such that the proper IBinder object is ref counted, instead of passing the
object's this pointer.

Bug: None
Change-Id: I72cac08c835a17b8cc263b2dc34864420b7a2841
/system/core/healthd/BatteryPropertiesRegistrar.h
020369d8724eff2b87350e54e157a609846166e4 19-Sep-2013 Todd Poynor <toddpoynor@google.com> healthd: BatteryService dumpstate support

Change-Id: Ia6938b7126751801310632c995af0f96e41f5f64
/system/core/healthd/BatteryPropertiesRegistrar.h
7b27f27d3de9e39d0de86c6e592d49bd4cc89158 07-Sep-2013 Todd Poynor <toddpoynor@google.com> healthd: break link between BatteryMonitor and BatteryPropertiesRegistrar

Make it easier to later separate out binder-related code.

Add helper functions healthd_battery_update(), healthd_get_property() to
allow these operations without needing references to the BatteryMonitor
object.

Change-Id: Ie584bf53e5178ce0a098d0d940d6c311fdff62d4
/system/core/healthd/BatteryPropertiesRegistrar.h
c133b7198a02c8738aeef86d6cfd921a626adce7 15-Aug-2013 Todd Poynor <toddpoynor@google.com> healthd: read individual battery property value on demand

Adding support for batteryChargeCounter and batteryCurrentNow as parameters
likely to be useful for power consumption analysis.

Change-Id: Ib23b05d3c31c22ece0d21e55cc481c1b5dabe59e
/system/core/healthd/BatteryPropertiesRegistrar.h
752faf2c18407fd79127fb3f3773910b4ddf669d 12-Jun-2013 Todd Poynor <toddpoynor@google.com> healthd: Add system health monitoring daemon

Initially moving battery health monitoring here.

Command line flag -n tells healthd not to use (or wait for) servicemanager
in this execution, for charger and recovery modes.

Change-Id: I1720594724af0c068497b359f9c6ad65aeaa1519
/system/core/healthd/BatteryPropertiesRegistrar.h