mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-06 15:01:35 +00:00
f2678998617771edbfb3574b66c4573d75e6dda7
When discharging, EC checks if battery temperature is in working range. The battery pack module should provide the working range in deci-Kelvin, not Celcius. Signed-off-by: Rong Chang <rongchang@chromium.org> BUG=chrome-os-partner:9485 TEST=manual Unplug AC adapter, and check /sys/class/power_supply/BAT0/charge_now Change-Id: Ib6a312941cb1f3622c6f18d2c58bc50a06feafaf
- EC Lib
This wraps Blizzard driverlib and implements the EC chip interface defined
by Google. See below diagram for architecture.
+--------------------+
| Host BIOS/OS |
+--------------------+
---- host interface ----
+--------------------+
| Google EC features |
+--------------------+
---- chip interface ---- The interface is defined in
src/platform/ec/chip_interface/*.
+--------------------+ But the real implementation is in EC Lib.
| EC Lib |
+--------------------+
| Blizzard low level |
| driver, the |
| driverlib. |
+--------------------+
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%