mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
The battery type of rev3 is changed to 3S, add this setting to battery_info. But in order to compatible to 2S battery, set the minimum voltage of battery to 6V rather than 9V. For rev4, it should always connect to 3S battery and doesn't necessary to support 2S battery. BRANCH=none BUG=chrome-os-partner:44428 TEST=manual 1. connect 2S battery to rev3. 2. check the battery info with EC command: > battery 3. confirm the voltage of battery is match to setting of battery_info. 4. connect 3S battery to rev3, and repeat step 2&3. Change-Id: I626ed150d76a1dfba7d1caf08c4f19882e9cb089 Signed-off-by: Ben Lok <ben.lok@mediatek.com> Reviewed-on: https://chromium-review.googlesource.com/295024 Reviewed-by: Rong Chang <rongchang@chromium.org>