fwupd/plugins/upower
Richard Hughes 4d76d18d35 Set the system battery state and level on the FuContext shared state
This allows plugins to set the battery power state of the *machine* which means
we can automatically inhibit devices with FWUPD_DEVICE_FLAG_REQUIRE_AC set.

It also allows to set the BatteryThreshold to 25% for Lenovo hardware, and we
can override other vendors with further quirks as required.

Fixes https://github.com/fwupd/fwupd/issues/3084
2021-04-07 08:05:15 +01:00
..
fu-plugin-upower.c Set the system battery state and level on the FuContext shared state 2021-04-07 08:05:15 +01:00
meson.build Set the system battery state and level on the FuContext shared state 2021-04-07 08:05:15 +01:00
README.md Add external interface messages 2020-10-26 12:05:20 -05:00
upower.conf Set the system battery state and level on the FuContext shared state 2021-04-07 08:05:15 +01:00
upower.quirk Set the system battery state and level on the FuContext shared state 2021-04-07 08:05:15 +01:00

UPower Support

Introduction

This plugin is used to ensure that some updates are not done on battery power.

Vendor ID Security

This protocol does not create a device and thus requires no vendor ID set.

External interface access

This plugin requires access to the dbus interface org.freedesktop.UPower.