Revision 25db8dbb49a887fd523060338112637cb7ac1cd2 authored by Giovanni Condello on 27 March 2014, 10:32:59 UTC, committed by Giovanni Condello on 27 March 2014, 10:32:59 UTC
1 parent bd1d1b8
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...