aa47993b23aff7d473085d723cbe29ef6e63da08 |
|
11-Mar-2017 |
Steven Moreland <smoreland@google.com> |
Merge "libutils: String\d+ make std_string private" am: 76850afa52 am: 2ebb1e5404 am: 4ba3f784ef Change-Id: I14f003992db222ef285551c6d9a8ffe71620f70d
|
2aac33512825f958fdbd0c0a2fd2651a6d779d24 |
|
11-Mar-2017 |
Steven Moreland <smoreland@google.com> |
libutils: String\d+ make std_string private This method is still used by prebuilts, but making it private to start the process of removing it from everywhere. Test: pass Bug: 35363681 Change-Id: I4d53f68d10c9abcca32023c4d930e99912afa697
/system/core/healthd/BatteryMonitor.cpp
|
068e00b3c97d9c862d52106813a1a81918740bea |
|
07-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Revert "Add BMS as a Battery type""
|
8d17bc6a7a9fd0c3b64a70248cfffa4d7e635d8d |
|
06-Mar-2017 |
Yueyao Zhu <yueyao@google.com> |
Revert "Add BMS as a Battery type" This reverts commit f13c6ff50ad55d1bdfbd065c96a1fc965193c262. Bug: 34166515 Change-Id: I102d3ee071f214deba1a72738af62b6f6b7c52f4
/system/core/healthd/BatteryMonitor.cpp
|
72adf11daf55f98179fafab98ccb6bcfd309de19 |
|
03-Feb-2017 |
Jin Qian <jinqian@google.com> |
healthd: return battery status property Bug: 34198239 Change-Id: Ib0f312c15eb75ba7482f4f0b3f30ba2feae2c209
/system/core/healthd/BatteryMonitor.cpp
|
f13c6ff50ad55d1bdfbd065c96a1fc965193c262 |
|
10-Dec-2016 |
Adam Lesinski <adamlesinski@google.com> |
Add BMS as a Battery type In order to automatically use the /sys/class/power_supply/bms/charge_full path for reading learned capacity of the battery, the BMS power supply (Battery Management System) needs to be considered a battery. Test: Manual Change-Id: I66e5751547c3dbdc8de0bb3893367cc6f2c9d733
/system/core/healthd/BatteryMonitor.cpp
|
da46b392f10d2809b5696632f67485f272ec5698 |
|
12-Oct-2016 |
Elliott Hughes <enh@google.com> |
Move off std::sto* function which abort on failure. Bug: http://b/31403370 Test: builds, boots, libbase tests pass Change-Id: I89cd7ca3d8f1c8a1bad0ddf3043439449d19a293
/system/core/healthd/BatteryMonitor.cpp
|
9f6b80c9c8073e1a8ee1b7ed124e5321cb4052df |
|
20-Jun-2016 |
Dmitry Shmidt <dimitrysh@google.com> |
resolve merge conflicts of a617e33 to stage-aosp-master Change-Id: I0d1e6b1771eebc38f7eea5a942395c5f8ff6a5ac
|
3217c5c7d9612d3984af7384940ed0949b900b6a |
|
05-Jun-2016 |
Michael Scott <michael.scott@linaro.org> |
batterymonitor: simplify readFromFile and use std::string buffers In readFromFile() when a newline is not found in the data, we reset the initial character of the buffer to \0, but leave the count as is (something >0 in this case). Later in getBooleanField() we could erroneously treat a response as "true" because count would be >0 and the initial value of buf would be != '0' (set to \0 in this case). To fixup error paths such as this, we can simplify readFromFile by using android::base functions: ReadFromFileString() and Trim(). NOTES: - Converted char * buffers used with readFromFile to std::string - Removed unused variable btech from BatteryMonitor::update Testing Done: - Build healthd and recovery for angler device - Confirm that known values are being read correctly from kernel sysfs. Change-Id: I238bbff097543767f352aa084bf0acbc1324baca Signed-off-by: Michael Scott <michael.scott@linaro.org>
/system/core/healthd/BatteryMonitor.cpp
|
8df54e7721c8ea51b2708963c7d943a4a9818098 |
|
08-Apr-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Add charge counter for BatteryProperties. am: 3f9886b * commit '3f9886bb0bce7297c676907ded51c402d7b61654': healthd: Add charge counter for BatteryProperties. Change-Id: I4fbdeebcd50acae22712dde8a2192475051c9d96
|
3f9886bb0bce7297c676907ded51c402d7b61654 |
|
07-Apr-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Add charge counter for BatteryProperties. Bug: 27174034 Change-Id: I26de33714bb353faadb159d898f0b2142c76c657 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
89e2d4dc67d3d9edf885ac35f617d9ed73bef197 |
|
09-Mar-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
Merge "healthd: Check if battery device exists instead of charger drivers before setting fake properties." am: ed608b30b5 * commit 'ed608b30b5cb1d998f4d7a56cd0f85aa2bca5c5a': healthd: Check if battery device exists instead of charger drivers before setting fake properties.
|
fabd490f58df73711a56478c9777f397fca733f6 |
|
29-Feb-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Check if battery device exists instead of charger drivers before setting fake properties. healthd used to check for registered charger drivers to determine if the device is an always-plugged device with no battery. This patch changes it to check for battery instead. Change-Id: Ie4ff5d3f21dc1a83a780a41eb0c929f66b86d631 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
39510201a3ada1be4c82222e4f722d1ffcf89c38 |
|
26-Feb-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
Merge "healthd: Correct the scaling factor for maxVoltage and maxCurrent." into nyc-dev am: 1d043484d4 * commit '1d043484d409d4d18eaf13aa1086f51fcee73587': healthd: Correct the scaling factor for maxVoltage and maxCurrent.
|
5c09ec17261fc2217009f72ec45c1f00df51ccde |
|
26-Feb-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Correct the scaling factor for maxVoltage and maxCurrent. Change-Id: I93a4c916d0c742710c00c0b15d8d1de6b8f8d1c2 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
ef375c65832f01640b59d109c480e617216412ec |
|
25-Feb-2016 |
Badhri Jagan Sridharan <Badhri@google.com> |
Merge "healthd: Read the max power supply voltage" into nyc-dev am: df09aefc16 * commit 'df09aefc1603903429d8fa7c4838a38a7c6dc8d3': healthd: Read the max power supply voltage
|
40e1df4488f30ab49d82a279b5fca77e31746ec0 |
|
27-Oct-2015 |
Badhri Jagan Sridharan <Badhri@google.com> |
healthd: Read the max power supply voltage With Type-C PD, VBUS can no longer be assumed to to be at 5V. Read the "voltage_max" field from the power_supply class node and export it through BatteryProperties service. Bug: 25229483 Change-Id: I04e32d9783a21bab375f1724758a9eeace2a047c
/system/core/healthd/BatteryMonitor.cpp
|
b0580d710fe6a237eff9b35df05242e5a872319f |
|
20-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: support reading charge status from BatteryMonitor. recovery needs to know whether the battery is charged. Bug: 26879394 Change-Id: Ie2a1d06e81878efa3ff432c2015d409a625e473e (cherry picked from commit aedf6038dcc23137f2ae3268f95f760a9440cf0c)
/system/core/healthd/BatteryMonitor.cpp
|
f6dbc6d4b830c57c0155a607d0d8a2cb6b1e0040 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: separate libbatterymonitor for use in recovery. Bug: 26879394 Change-Id: I97b5b4994c42988ce43f5085b8b4b25e9e80c9fa (cherry picked from commit e98e177a34eb3200b9f95be8379223271933b885)
/system/core/healthd/BatteryMonitor.cpp
|
ac3387b71baf99b2680af038c5997eb52218f661 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: init members of BatteryMonitor. Bug: 26879394 Change-Id: I09a6c78137f91a0c88bf4ba1e8890b4ec31dcf2c (cherry picked from commit db04a49a6faf094ec167507172e6007e4c4c3658)
/system/core/healthd/BatteryMonitor.cpp
|
bb8ae5d769a6009fed321ae8a8c523509f332b92 |
|
23-Feb-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
Merge "healthd: Remove warning by clang compiler." am: 08c8b53800 am: 78ed1935e1 * commit '78ed1935e1508326afb22be4dd7f9961922347fb': healthd: Remove warning by clang compiler.
|
e9320b7c927a5344122e921cbb76531204eb2dac |
|
22-Feb-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Remove warning by clang compiler. Bug: 27265206 Change-Id: I8f2ec1391952de4a9cdefce0433535608a1e9b59 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
f8eaff2dd916b1bdb4c38984c2500491cf1d7893 |
|
22-Feb-2016 |
Yabin Cui <yabinc@google.com> |
Merge "healthd: support reading charge status from BatteryMonitor." am: d633106d3e am: 0007c4efbe * commit '0007c4efbe412148ebaf77a964226575a02e3af0': healthd: support reading charge status from BatteryMonitor.
|
aedf6038dcc23137f2ae3268f95f760a9440cf0c |
|
20-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: support reading charge status from BatteryMonitor. recovery needs to know whether the battery is charged. Bug: 26879394 Change-Id: Ie2a1d06e81878efa3ff432c2015d409a625e473e
/system/core/healthd/BatteryMonitor.cpp
|
22b6f7a559e02f44442a1f5079d790884971d7f2 |
|
19-Feb-2016 |
James Hawkins <jhawkins@google.com> |
resolve merge conflicts of 0f5d443d0c to nyc-dev-plus-aosp Change-Id: I850bda0808ae17ade5bc0e667211a599d284d6e3
|
bd04bb0d297c1a7cd5aabdc258b1829905fb067d |
|
19-Feb-2016 |
James Hawkins <jhawkins@google.com> |
Merge "system/core: Cleanup direct calls to opendir by containing in a std::unique_ptr."
|
fb516c2e635677cf7f7ad8c0eee27329b245cc54 |
|
19-Feb-2016 |
Yabin Cui <yabinc@google.com> |
Merge "healthd: separate libbatterymonitor for use in recovery." am: 219806bc7a am: a90f7761bf * commit 'a90f7761bf5a73cd6d75fb4b482a1ec08447e1a7': healthd: separate libbatterymonitor for use in recovery.
|
e98e177a34eb3200b9f95be8379223271933b885 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: separate libbatterymonitor for use in recovery. Bug: 26879394 Change-Id: I97b5b4994c42988ce43f5085b8b4b25e9e80c9fa
/system/core/healthd/BatteryMonitor.cpp
|
588a2cad7faee54bfb16050d0c7398709f304fea |
|
18-Feb-2016 |
James Hawkins <jhawkins@google.com> |
system/core: Cleanup direct calls to opendir by containing in a std::unique_ptr. Bug: 26643633 Change-Id: Ia3491fdbff086558da694ae949cf08e4c89d0307
/system/core/healthd/BatteryMonitor.cpp
|
7e84cbd999625c28f261be1382ab3637547e1c37 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
Merge "healthd: init members of BatteryMonitor." am: 2773d4f96a * commit '2773d4f96a8e9f06710e36f7c33459eeaa5cb23a': healthd: init members of BatteryMonitor.
|
db04a49a6faf094ec167507172e6007e4c4c3658 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: init members of BatteryMonitor. Bug: 26879394 Change-Id: I09a6c78137f91a0c88bf4ba1e8890b4ec31dcf2c
/system/core/healthd/BatteryMonitor.cpp
|
96e3d1b5c1033548440a49a2c53f5353ca94630a |
|
04-Feb-2016 |
Elliott Hughes <enh@google.com> |
Merge "Add support for USB_HVDCP chargers" am: ba3014c914 am: a902887970 * commit 'a9028879707d58f286014c4a6a9c6b53f61c2806': Add support for USB_HVDCP chargers
|
3282861b68978abbbacb9b7dce260f70f9695187 |
|
03-Feb-2016 |
Johan Redestig <johan.redestig@sonymobile.com> |
Add support for USB_HVDCP chargers and print a warning message containing the type when the battery monitor fails to recognize a power supply. Change-Id: I02ebd89736f7444f8bf7f28550afeec82d57e107
/system/core/healthd/BatteryMonitor.cpp
|
580933efcd7fbf050121c9aa9fccdb24042ee468 |
|
30-Dec-2015 |
Mark Salyzyn <salyzyn@google.com> |
Merge "logd: isMonotonic improvements" am: 554630f94e am: e4a625a844 * commit 'e4a625a84498b0749986be85a521be85088ca5f0': logd: isMonotonic improvements
|
10b82b683405e9ccd0cc162fa44a2ec6a9f26448 |
|
29-Dec-2015 |
Mark Salyzyn <salyzyn@google.com> |
logd: isMonotonic improvements Use 1972 as a right delineation. Otherwise use half way point between the monotonic and realtime. Treat correction factor as unsigned, ensure that any wrapping to a negative value is dropped or set to EPOCH. Acknowledge that we can get a more accurate time track by acquiring the time rather than relying on healthd timestamp. Bug: 26331432 Change-Id: I09075fca58676a30cf7d87baf2d4b0f53795abaa
/system/core/healthd/BatteryMonitor.cpp
|
7ac8cacdfeb9f6b4cb0086616c3168178488f324 |
|
19-Nov-2015 |
Qiwen Zhao <zhao@google.com> |
Merge remote-tracking branch \'origin/mnc-dr2-dev\' into mnc-dr2-dev-plus-aosp am: 09aa2f9b2c * commit '09aa2f9b2c34339878dfd218d1c6e09644a108b0': Fix build break with uninitialized boost_fd. Improve cpuset support for surfaceflinger. liblog: printable do not escape tabs libutils: Add UNEXPECTED_NULL status_t
|
e99972ac49a9e0c09b2e58680e899fa9af185a0a |
|
13-Nov-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
Merge "healthd: Support new PD and USB Type C types" am: ab75edb4ad am: 741df1263e am: 6b1c15d7ff * commit '6b1c15d7ffe95bc43cc160e3f81b6bf1f4629159': healthd: Support new PD and USB Type C types
|
741df1263e2903cba9ebbb333d01654107401378 |
|
13-Nov-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
Merge "healthd: Support new PD and USB Type C types" am: ab75edb4ad * commit 'ab75edb4ad01b518cb5c96a5a3d4ad344bc4ce26': healthd: Support new PD and USB Type C types
|
8a4eef60e135260f1f35675f4ad5107ae1457ed0 |
|
08-Oct-2015 |
Benson Leung <bleung@google.com> |
healthd: Support new PD and USB Type C types See the new types added here : https://chromium-review.googlesource.com/304660 Add support for these. Signed-off-by: Benson Leung <bleung@google.com> Change-Id: I12c51e0611692a763a7f1cda57c77ad83d7aa7ea
/system/core/healthd/BatteryMonitor.cpp
|
42d9133a231f05f426ca0971c281ffd387e34d01 |
|
27-Oct-2015 |
Badhri Jagan Sridharan <Badhri@google.com> |
healthd: Read the max power supply voltage With Type-C PD, VBUS can no longer be assumed to to be at 5V. Read the "voltage_max" field from the power_supply class node and export it through BatteryProperties service. Bug: 25229483 Change-Id: I04e32d9783a21bab375f1724758a9eeace2a047c
/system/core/healthd/BatteryMonitor.cpp
|
585ab65c5816f8f9ff212487ffec797e8921697e |
|
13-Oct-2015 |
Ian Pedowitz <ijpedowitz@google.com> |
Adding comment removed from failed merge (6acb240c) Change-Id: Iace4c8512c6a4a26d36b98a5a3144e6836db1904
/system/core/healthd/BatteryMonitor.cpp
|
6acb240c533e405e8793537b2aef0d7ee3f527e0 |
|
13-Oct-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
am 43ed8e15: am 08cf0e55: Merge "healthd: Adds fake battery properties for devices with no battery." into mnc-dr-dev * commit '43ed8e152214094c453048948877b1b4c7b29e23': healthd: Adds fake battery properties for devices with no battery.
|
42a981ddee525c55cef40d5da987d0e3d5fa4b4c |
|
28-Sep-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Adds fake battery properties for devices with no battery. Devices which have no battery and are always plugged in will not have any battery property initialized. This causes the 'stable power' to never be switched which is required for updating apps. This change recognizes such a device and manually sets the battery to 100% and charger status to connected to AC mains. It will also fake the battery temperature. Bug: 24258855 Change-Id: I98e5ed0dbeb7f2ab6d3802cd7e0f3a269bd8f31f Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
f18ec9f227b8298467cc5288bc4a85c76526d67e |
|
28-Sep-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Adds fake battery properties for devices with no battery. Devices which have no battery and are always plugged in will not have any battery property initialized. This causes the 'stable power' to never be switched which is required for updating apps. This change recognizes such a device and manually sets the battery to 100% and charger status to connected to AC mains. It will also fake the battery temperature. Bug: 24258855 Change-Id: I98e5ed0dbeb7f2ab6d3802cd7e0f3a269bd8f31f Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
bc193c53ecc740d0ac3de976c6654b90a24669b6 |
|
23-Jul-2015 |
Mark Salyzyn <salyzyn@google.com> |
healthd: logd: add timestamp to kernel logged battery messages (cherry pick from commit acb1ddf56c98a75a49b263f99ef07ce361dc4323) Aid monotonic to realtime logging synchronization correction in the Android ecosystem by providing a periodic notification. We now have the following messages in the kernel logs: - PM: suspend entry %Y-%m-%d %H:%M:%S.%09q UTC - PM: suspend exit %Y-%m-%d %H:%M:%S.%09q UTC - Suspended for %s.%03q seconds - healthd: battery l=100 ... %Y-%m-%d %H:%M:%S.%09q UTC Alter klogd to resynchronize on healthd messages as well. NB: Time using strftime format, %q is a reference to fractional second as introduced into log_time strptime method. Bug: 21868540 Change-Id: I854afc0a07dff9c7f26d2b2f68990e52bf90e300
/system/core/healthd/BatteryMonitor.cpp
|
ef1bb411cbe58034face26a8f5f1cd1ba46101dd |
|
26-Aug-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
am 62729a1d: am 565e4c6a: Merge "healthd: Adds cycle_count, current_now and full_charge properties." * commit '62729a1d195cd27b353da24be21bd0a855884431': healthd: Adds cycle_count, current_now and full_charge properties.
|
cc338801e46776541fb661956ce76a3c97f5bb45 |
|
24-Aug-2015 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Adds cycle_count, current_now and full_charge properties. Bug: 22981343 Change-Id: I4b942b891f61e6bf12e3b23f4e0ada5b7f14fd83 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/core/healthd/BatteryMonitor.cpp
|
2be6ebbedbdf9c1b3b3f77c74214018565902092 |
|
12-Aug-2015 |
Mark Salyzyn <salyzyn@google.com> |
am e49aba54: am 95e7cb5b: Merge "healthd: logd: add timestamp to kernel logged battery messages" * commit 'e49aba5413419bbc4f87889edd9a12956a932ef8': healthd: logd: add timestamp to kernel logged battery messages
|
acb1ddf56c98a75a49b263f99ef07ce361dc4323 |
|
23-Jul-2015 |
Mark Salyzyn <salyzyn@google.com> |
healthd: logd: add timestamp to kernel logged battery messages Aid monotonic to realtime logging synchronization correction in the Android ecosystem by providing a periodic notification. We now have the following messages in the kernel logs: - PM: suspend entry %Y-%m-%d %H:%M:%S.%09q UTC - PM: suspend exit %Y-%m-%d %H:%M:%S.%09q UTC - Suspended for %s.%03q seconds - healthd: battery l=100 ... %Y-%m-%d %H:%M:%S.%09q UTC Alter klogd to resynchronize on healthd messages as well. NB: Time using strftime format, %q is a reference to fractional second as introduced into log_time strptime method. Bug: 21868540 Change-Id: I854afc0a07dff9c7f26d2b2f68990e52bf90e300
/system/core/healthd/BatteryMonitor.cpp
|
d5fe6675a73c3a831d0c4e41343ee86772633db8 |
|
10-Jul-2015 |
Adrian Roos <roosa@google.com> |
Show charging speed on Keyguard Bug: 8099739 Change-Id: I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36
/system/core/healthd/BatteryMonitor.cpp
|
38c3386a6cd44789f540fb9700c284345e7269e3 |
|
25-Nov-2014 |
Andreas Gampe <agampe@google.com> |
resolved conflicts for merge of 03be4928 to lmp-mr1-dev-plus-aosp Change-Id: I7c72ed2c54ceae19c9dfe8b2e1707f869faad110
|
c0970d31f3089c16d6f230decfef2566731a529a |
|
25-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Healthd: Remove unused variables For build-system CFLAGS clean-up, remove unused variables. Change-Id: Ifc5884518bfdb744ea9823b98db544dbe59c20d2
/system/core/healthd/BatteryMonitor.cpp
|
ebeb0c0ea63af9fd8b2c8a7a20f919e48098ad9a |
|
23-Sep-2014 |
Todd Poynor <toddpoynor@google.com> |
healthd: use warning level for info logs To allow healthd/charger info to appear in systems where the loglevel has been bumped to squelch chatty drivers. Change-Id: I4ab135765700d7584a1ce5d972ea473d77f299f8
/system/core/healthd/BatteryMonitor.cpp
|
a78fc23491f3490bec4e4ac72c4bdc8c6d554fe3 |
|
11-Jul-2014 |
Ruchi Kandoi <kandoiruchi@google.com> |
healthd: Reports arbitrary numbers for capacity and temperature when connected to fake battery. Detects if the device is attached to a fake battery if yes, healthd reports 42% battery charge and 42.2 degrees temperature. Change-Id: I2508fd91c8d3848ea64f57ab59d20be1c2817913
/system/core/healthd/BatteryMonitor.cpp
|
3db03a5ab0cb7713529c298531be6da7c2193525 |
|
22-May-2014 |
Todd Poynor <toddpoynor@google.com> |
healthd: Set fixed battery level and temperature via properties setprop persist.sys.battery.capacity 77 setprop persist.sys.battery.temperature 123 and reboot to cause a fixed battery level of 77% and temperature of 12.3C to be reported to Android. Typically used on power evaluation boards without batteries connected. Bug: 14839868 Change-Id: Ibae5e16429d05891cb0787d74a2fe93b07013699
/system/core/healthd/BatteryMonitor.cpp
|
e14b37eb07b394fef05da5ee09dc6d33e3a25711 |
|
20-May-2014 |
Todd Poynor <toddpoynor@google.com> |
healthd: Add hooks for ENERGY_COUNTER property Bug: 10118565 Change-Id: Ibabae2a78a600ae37ce9b91da0f5980ee94b05c2
/system/core/healthd/BatteryMonitor.cpp
|
8f132af495d208272ea55d0ca24068926fa80e51 |
|
09-May-2014 |
Todd Poynor <toddpoynor@google.com> |
healthd: Add ENERGY_COUNTER property placeholder, and 64-bit properties Will add healthd HAL support for ENERGY_COUNTER, and support in some HALs, in following CLs. Change-Id: Ife2eaa30473be3a59183c6ce61fdaa61f32dd01b
/system/core/healthd/BatteryMonitor.cpp
|
6f5b47f9144960412b0fb6bc417f0c41bf53438a |
|
16-May-2014 |
Mark Salyzyn <salyzyn@google.com> |
healthd: Turn on -Werror Change-Id: I72caf38008ee7d842dfacd3f58add9bc8e4787e8
/system/core/healthd/BatteryMonitor.cpp
|
347c8de285454af2d3cba3d9b43d3bf23b20babb |
|
19-Mar-2014 |
Paul Lawrence <paullawrence@google.com> |
healthd: Add battery capacity to getProperty Add support for BATTERY_PROP_CAPACITY property in getProperty Bug: 11985952 Change-Id: I905cda68f990fa96138a16a11c55f2d902d0bbc1
/system/core/healthd/BatteryMonitor.cpp
|
c15e9934675d2f6b8dc19f042e6d045415e79359 |
|
23-Oct-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: remove/rearrange extra battery property handling Change-Id: I6cc1570e23c1c1468f08579f633997e95327347a
/system/core/healthd/BatteryMonitor.cpp
|
020369d8724eff2b87350e54e157a609846166e4 |
|
19-Sep-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: BatteryService dumpstate support Change-Id: Ia6938b7126751801310632c995af0f96e41f5f64
/system/core/healthd/BatteryMonitor.cpp
|
6dcc45ed6dd455d82ecfb3addf247125846f3019 |
|
22-Oct-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: Fixups for systems without batteries or removable batteries * Replace unnecessary warnings about missing attributes with a more informative message when no battery devices provided by the system. * Turn off periodic battery checks when no battery devices (thereby reducing unnecessary kernel log spam). * Replace battery properties in log messages with a more informative message when no battery is provided or the battery is removed. Change-Id: I68a514aa7315ae2b5d22cb8861d3c9b1b38035a1
/system/core/healthd/BatteryMonitor.cpp
|
2e227fbc5ad735856ce016714440e377e85fb839 |
|
01-Oct-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: start switchover to BatteryExtraProperties Change-Id: I47a24d4284f502858ee929b2cda8881165ef4ef3
/system/core/healthd/BatteryMonitor.cpp
|
c7464c9150eb63ad277cc5b5f704f4fd5e6678c5 |
|
10-Sep-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: move Android communication code to separate source * add ops for different "modes" of healthd operation: android vs. recovery * recovery mode selected by runstring options -r * binder/Android communication moved to android mode * recovery mode ops avoiding binder service registration * "no service manager" flag removed; now handled by android vs. other modes Change-Id: I3d8c89bf96a18a6a00cc85306f9a07d3f408f2a0
/system/core/healthd/BatteryMonitor.cpp
|
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/BatteryMonitor.cpp
|
bc102111845a48f79a4cf6ea058a0ca334cd613c |
|
28-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: Add average current property Change-Id: Ibc901fe1b550c0d72095ef5590e2db8962d1a7b2
/system/core/healthd/BatteryMonitor.cpp
|
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/BatteryMonitor.cpp
|
f5d3012d2c6ac343a0b8bcc95b9cd5137d9ef02f |
|
13-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: Move power_supply attribute paths to healthd_config Allow health HAL to select specific paths to be used, overriding default search for arbitrary power supplies with the named paths. Change-Id: I5f724739f58ef56087ab592b7403fc083db8f173
/system/core/healthd/BatteryMonitor.cpp
|
a41611f638f82cb8066f83b32f2610f0d00dafc6 |
|
12-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: fix botched logging call Change-Id: Ibf5e28c657e0d9d193b266acd7b2912bebc3e71f
/system/core/healthd/BatteryMonitor.cpp
|
57fd0989cbb59f305514378e511e36c752b5aa20 |
|
09-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: preserve uA and uAh units for current_now and charge_counter Change-Id: I20b3f47c541c4321b0593e504090ad6573b9cb01
/system/core/healthd/BatteryMonitor.cpp
|
10b235e7436256da9adc827125645f141bd8fac9 |
|
08-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: add health HAL support Adds board-specific battery monitoring capabilities: * processing of battery property values and additional charging logic. * adjusted (or removed) polling intervals. * replaced (or removed) battery status heartbeat in kernel log. Change-Id: Ia77bca8dc92c6c2a51afa65d516cacca08da73ac
/system/core/healthd/BatteryMonitor.cpp
|
b45f1f5bd00c9a8380960d7c439eb14b3a334f50 |
|
31-Jul-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: add optional current_now and charge_counter to tracked state uA and uAh units are converted to mA and mAh. If current_now is present, add it to the heartbeat log (c=nnn). Change-Id: I2b5fe7b4505c98ca2d11c3f94564c1c38493c8b9
/system/core/healthd/BatteryMonitor.cpp
|
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/BatteryMonitor.cpp
|