Method

FwupdPluginDeviceget_battery_level

since: 1.5.8

Declaration [src]

guint
fu_device_get_battery_level (
  FuDevice* self
)

Description [src]

Returns the battery level.

Available since: 1.5.8

Return value

Type: guint

Value in percent.