google_battery: temperature and charge rate FAN level policy

Use the following hints for battery fan level:

From Battery temperature
 DON’T CARE when battery temperature is under 32C
 LOW for battery temperature under 42C
 MEDIUM for battery temperature under 46C
 HIGH for battery temperature over 46C
 ALERT in JEITA HOT
From charge rate
 LOW at 0.5 * C, MED at 0.7 * C, HIGH at 1C

Bug: 188478529
Signed-off-by: AleX Pelosi <[email protected]>
Change-Id: Idc43d9a475e32de4a9643d40b31b7cec80224a04
1 file changed