Property

AstalBatteryDevice:capacity

Declaration

property capacity: double [ read, write ]

Description

The capacity of the power source expressed as a percentage between 0 and 1. This property is only valid if AstalBatteryDevice:device-type is ASTAL_BATTERY_TYPE_BATTERY.

Type:gdouble

Flags

Readableyes
Writableyes
Constructno
Construct onlyno