set_battery_threshold


Description:

[ Version ( since = "1.8.1" ) ]
public void set_battery_threshold (uint32 battery_threshold)

Sets the battery level, or fwupd_battery_level_invalid for the default.

Setting this allows fwupd to show a warning if the device change is too low to perform the update.

Parameters:

this

a Device

battery_threshold

the percentage value