Lines Matching defs:remaining
2131 CFNumberRef remaining, charge, capacity;
2194 remaining = CFDictionaryGetValue(one_ps, CFSTR(kIOPSTimeToEmptyKey));
2196 remaining = CFDictionaryGetValue(one_ps, CFSTR(kIOPSTimeToFullChargeKey));
2199 if (remaining) {
2200 CFNumberGetValue(remaining, kCFNumberIntType, &estimatedMinutesRemaining);
2263 remaining = CFDictionaryGetValue(one_ps, CFSTR(kIOPSTimeToEmptyKey));
2265 remaining = CFDictionaryGetValue(one_ps, CFSTR(kIOPSTimeToFullChargeKey));
2289 if(remaining)
2291 CFNumberGetValue(remaining, kCFNumberIntType, &_minutes);
2326 if(show_time_estimate && remaining) {
2328 printf("; %d:%d%d remaining", _hours, _minutes/10, _minutes%10);