mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 18:06:40 +00:00
hekate: increase battery enough limits
This commit is contained in:
parent
0e1eece04f
commit
2e989c2338
1 changed files with 2 additions and 2 deletions
|
@ -1164,7 +1164,7 @@ static void _check_low_battery()
|
|||
bq24193_get_property(BQ24193_ChargeStatus, &charge_status);
|
||||
max17050_get_property(MAX17050_AvgVCELL, &batt_volt);
|
||||
|
||||
enough_battery = charge_status ? 3250 : 3000;
|
||||
enough_battery = charge_status ? 3300 : 3100;
|
||||
|
||||
// If battery voltage is enough, exit.
|
||||
if (batt_volt > enough_battery || !batt_volt)
|
||||
|
@ -1197,7 +1197,7 @@ static void _check_low_battery()
|
|||
int current_charge_status = 0;
|
||||
bq24193_get_property(BQ24193_ChargeStatus, ¤t_charge_status);
|
||||
max17050_get_property(MAX17050_AvgVCELL, &batt_volt);
|
||||
enough_battery = current_charge_status ? 3250 : 3000;
|
||||
enough_battery = current_charge_status ? 3300 : 3100;
|
||||
|
||||
// If battery voltage is enough, exit.
|
||||
if (batt_volt > enough_battery)
|
||||
|
|
Loading…
Reference in a new issue