mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
d7a41825d936fd20c0dfafa0cc19d5fd66df575b
As Nefario supports 3s battery, we can change the parameter
for board-specific instead of the charger driver.
BUG=chromium:754824
BRANCH=none
TEST=Build and check battery information
> battery
Status: 0x0080 INIT
Param flags:00000003
Temp: 0x0bc0 = 300.8 K (27.7 C)
V: 0x2e1e = 11806 mV
V-desired: 0x32fa = 13050 mV
I: 0x07a7 = 1959 mA(CHG)
I-desired: 0x0fa0 = 4000 mA
Charging: Allowed
Charge: 17 %
Manuf: sunwoda
Device: BBLD485595
Chem: LION
Serial: 0x0064
V-design: 0x2c88 = 11400 mV
Mode: 0x6001
Abs charge:17 %
Remaining: 667 mAh
Cap-full: 4079 mAh
Design: 4000 mAh
Time-full: 2h:47
Change-Id: If9a4cdd9932e3287bf06cbe0840c94085cbeea1f
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/616508
Reviewed-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%