Only available on cameras that report battery percentage in Canon menu.
These cameras have CONFIG_BATTERY_INFO enabled on the feature comparison matrix.
|level||Get battery level in percentage (0-100).|
|id||Get battery ID, as registered in Canon menu.|
|performance||Get how many "green dots" (3 for a new battery, less for a used battery).|
|drain_rate||Get estimated battery drain rate.|
|time_remaining||Get estimated time remaining.|
Get battery level in percentage (0-100).
- level int
Get battery ID, as registered in Canon menu.
- id int
Get how many "green dots" (3 for a new battery, less for a used battery).
- performance int
Get estimated battery drain rate.
Updated every time the battery percentage decreases (as reported by Canon firmware).
To measure the battery drain during some constant workload, wait for the battery percentage to decrease by at least 2 units before reading this field.
- drain_rate int
Get estimated time remaining. Same usage considerations as with drain_rate.
- time_remaining int