Revision 75259ccd266311905b5044beca1eb02021ea25b5 authored by Daniel Fort on 21 December 2018, 06:43:45 UTC, committed by Daniel Fort on 21 December 2018, 06:43:45 UTC
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 ...