Lines Matching defs:chargeLastFull
85 * @param chargeLastFull The last "full" charge of the battery (typically mWh)
91 int chargeLastFull)
100 if (chargeLastFull > 0)
101 percentage = ((double) chargeLevel / (double) chargeLastFull) * 100;
103 HAL_WARNING (("chargeLastFull %i, percentage returning -1!", chargeLastFull));
126 * @param chargeLastFull The last "full" charge of the battery (typically mWh)
136 int chargeLastFull,
144 if (chargeRate < 0 || chargeLevel < 0 || chargeLastFull < 0) {
145 HAL_WARNING (("chargeRate, chargeLevel or chargeLastFull < 0, returning -1"));
204 * Some ACPI BIOS's don't update chargeLastFull,
207 if (chargeLevel > chargeLastFull ) {
208 HAL_WARNING (("chargeLevel > chargeLastFull, returning -1"));
211 remaining_time = ((double) (chargeLastFull - chargeLevel) / (double) chargeRate) * 60 * 60;