Method

FwupdPluginContextget_battery_threshold

Declaration [src]

guint
fu_context_get_battery_threshold (
  FuContext* self
)

Description [src]

Gets the system battery threshold in percent.

Available since:1.6.0

Return value

Returns: guint
 

Percentage value, or FWUPD_BATTERY_LEVEL_INVALID for unknown.