Install gir1.2-upowerglib-1.0 by entering the following commands in the terminal:
sudo apt update sudo apt install gir1.2-upowerglib-1.0
Description:
GObject introspection data for upower
upower provides an interface to enumerate power sources on the system and control system-wide power management. Any application can access the org.freedesktop.UPower service on the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit. . This package contains introspection data for upower. . It can be used by packages using the GIRepository format to generate dynamic bindings.
Homepage: https://upower.freedesktop.org/
Version: 0.99.7-2
Section: introspection