History log of /system/core/healthd/charger.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b7cd45f877177737958401776a440c9fd6361f46 14-Nov-2017 Yifan Hong <elsk@google.com> charger: add charger_test

Test: charger_test
Bug: 63702641
Change-Id: Id50d024c015916cb8007742e3c17eaf1161b909f
/system/core/healthd/charger.cpp
10c2b4013a2a33d1ab91fdffc6c7f98a48a63de9 08-Nov-2017 Yifan Hong <elsk@google.com> healthd: charger use health 2.0 HAL

Test: charger_test
Test: off-mode charging, charger runs correctly
Bug: 63702641
Bug: 69268160
Change-Id: I7dfc83ae4020ada7e9d11ab955f648abb74f435b
/system/core/healthd/charger.cpp
526f8cf339f6c215d2d89924824b674cb99cfcc9 02-Nov-2016 Sandeep Patil <sspatil@google.com> healthd: refactor healthd code to split into 'charger' and 'healthd'

This splits healthd code into 2 pieces as described below.

charger - statically linked executable in /sbin
- responsible for charger-mode UI
- battery/charger monitoring in recovery/charger-mode.

healthd - dynamically linked (*mostly*) executable in /system/bin
- responsible for battery / charger monitoring in Android
- runs 'batteryproperties' service.

Both currently use libhealthd STATIC HALs. However, this now paves
way for the healthd (android) HAL to be a shared library that can
be trebelized.

text data bss dec hex filename
733356 15312 33864 782532 bf0c4 root/sbin/charger
55943 10392 192 66527 103df system/bin/healthd
789299 25704 34056 849059 cf4a3 (TOTALS)

Test: Tested recovery, charge-only and android boot with new binaries
with and without STATIC HAL.

Change-Id: I80f94948dda44d466f172d234b3fcc9064ef2476
Signed-off-by: Sandeep Patil <sspatil@google.com>
/system/core/healthd/charger.cpp