mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-02-04 13:00:27 +01:00
Using energy is broken as the value might be zero if it is not provided.
However, either energy or percentage ("capacity") should have been read
from the sysfs. And, in both cases the percentage should reflect
something reasonable.
Related: #146
|
||
|---|---|---|
| .. | ||
| tests | ||
| integration-test.py | ||
| meson.build | ||
| output_checker.py | ||
| README.debugging | ||
| unittest_inspector.py | ||
| up-backend.c | ||
| up-device-bluez.c | ||
| up-device-bluez.h | ||
| up-device-hid.c | ||
| up-device-hid.h | ||
| up-device-idevice.c | ||
| up-device-idevice.h | ||
| up-device-supply.c | ||
| up-device-supply.h | ||
| up-device-wup.c | ||
| up-device-wup.h | ||
| up-enumerator-udev.c | ||
| up-enumerator-udev.h | ||
| up-input.c | ||
| up-input.h | ||
| up-native.c | ||
===============
Debugging
===============
When filing new bugs, please include information about the
output of "upower -d", "/usr/libexec/upowerd -v -r", and:
find /sys/class/power_supply/hidpp_battery_1/ -type f -exec echo {} \; -exec cat {} \; -exec echo \;
as appropriate.