Until https://bugzilla.kernel.org/show_bug.cgi?id=83941 is fixed, this allow to have a bit more information than "0% battery" displayed in the UI.
https://bugs.freedesktop.org/show_bug.cgi?id=90214
31b2b8e linux: Work-around broken battery on the Onda v975w
src/linux/integration-test | 27 +++++++++++++++++++++++++++
src/linux/up-device-supply.c | 21 ++++++++++++++++++---
2 files changed, 45 insertions(+), 3 deletions(-)
Upstream: cgit.freedesktop.org