Revision 0510ee2692e8a8aad87eba6c969a79b500598333 authored by a1ex on 11 March 2014, 20:10:08 UTC, committed by a1ex on 11 March 2014, 20:10:08 UTC
1 parent 8df6cc8
battery.h
#ifndef _battery_h_
#define _battery_h_
/* return battery level in percentage (0-100) */
int GetBatteryLevel();
/* battery ID, as registered in Canon menu */
int GetBatteryHist();
/* how many "green dots" (3 for a new battery, less for a used battery) */
int GetBatteryPerformance();
/* ML estimations */
int GetBatteryTimeRemaining();
int GetBatteryDrainRate();
/* todo: refactor this one with callbacks */
void RefreshBatteryLevel_1Hz();
#endif
Computing file changes ...