Module battery

Battery properties.

Only available on cameras that report battery percentage in Canon menu.

These cameras have CONFIG_BATTERY_INFO enabled on the feature comparison matrix.

Fields

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.


Fields

level
Get battery level in percentage (0-100).
  • level int
id
Get battery ID, as registered in Canon menu.
  • id int
performance
Get how many "green dots" (3 for a new battery, less for a used battery).
  • performance int
drain_rate
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
time_remaining
Get estimated time remaining. Same usage considerations as with drain_rate.
  • time_remaining int
generated by LDoc 1.4.3 Last updated 2017-09-02 23:31:52