API Version: 1.0
Library Version: 1.8.12
Generated by gi-docgen 2023.1
since: 1.5.8
void fu_device_set_battery_level ( FuDevice* self, guint battery_level )
Sets the battery level, or FWUPD_BATTERY_LEVEL_INVALID.
FWUPD_BATTERY_LEVEL_INVALID
Setting this allows fwupd to show a warning if the device change is too low to perform the update.
Available since: 1.5.8
battery_level
Type: guint
guint
The percentage value.