Fixed: Use bage instead of pgage variable for coloring the battery age.
This commit is contained in:
parent
f6d85bdd96
commit
dc89d0dfcf
|
@ -229,8 +229,8 @@ public class CareportalFragment extends SubscriberFragment implements View.OnCli
|
|||
double sageWarn = nsSettings.getExtendedWarnValue("sage", "warn", 164);
|
||||
handleAge(sage, CareportalEvent.SENSORCHANGE, sageWarn, sageUrgent);
|
||||
|
||||
double pbageUrgent = nsSettings.getExtendedWarnValue("pgage", "urgent", 360);
|
||||
double pbageWarn = nsSettings.getExtendedWarnValue("pgage", "warn", 240);
|
||||
double pbageUrgent = nsSettings.getExtendedWarnValue("bage", "urgent", 360);
|
||||
double pbageWarn = nsSettings.getExtendedWarnValue("bage", "warn", 240);
|
||||
handleAge(pbage, CareportalEvent.PUMPBATTERYCHANGE, pbageWarn, pbageUrgent);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue