Revision f53422e82464594d569eca1cb3130b3f9984f7ca authored by Daniel Fort on 23 November 2016, 05:10:23 UTC, committed by Daniel Fort on 23 November 2016, 05:10:23 UTC
1 parent 4a29a79
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 ...