Charge manager: check sanity of charge_full
'charge_full' might be zero or negative if there is something wrong with
battery. Let's check it before using it.
TEST=Run on a device with charge_full=0. Check charge manager found the
Reviewed-by: Jon Salz <firstname.lastname@example.org>
Commit-Ready: Vic Yang <email@example.com>
Tested-by: Vic Yang <firstname.lastname@example.org>
1 file changed