scarlet: Implement custom charging profile

Because Scarlet doesn't use smart battery, in the current
implementation of charging algorithm, we simply provide constant
voltage/current to the battery.

However, the datasheets of Scarlet battery packs do state different
desired voltage/current in different temperature range.

So we should implement the custom charging profile for the battery.

BUG=b:65597565
BRANCH=none
TEST=override measured temperature to confirm zone changing is fine
on rev2

Change-Id: I188578fd46e28f1f05fbce2150af23aaae457cc5
Signed-off-by: Philip Chen <philipchen@google.com>
1 file changed