UPower 0.99.8

2018-06-19 Thread Richard Hughes
Version 0.99.8 ~~ Released: 2018-06-18 New Features: - Lock down systemd service file - Add support for "Unknown" capacity level, and clarify handling of devices with coarse battery levels - Add a new version of up_client_get_devices() which unrefs contents Bugfixes: - Fix

Re: [PATCH] up-device-supply: add conditions to workaround bugged firmware to compute "Fully charged" status

2018-06-19 Thread Bastien Nocera
On Tue, 2018-06-19 at 09:38 +0200, Charles-Antoine Couret wrote: > Some firmware like on Lenovo E560 never sends "fully charged" status. > The idea is to consider the situation: a battery without energy > consumption, > in discharging mode but with AC power plugged is fully charged. We use GitLab

[PATCH] up-device-supply: add conditions to workaround bugged firmware to compute "Fully charged" status

2018-06-19 Thread Charles-Antoine Couret
Some firmware like on Lenovo E560 never sends "fully charged" status. The idea is to consider the situation: a battery without energy consumption, in discharging mode but with AC power plugged is fully charged. According to kernel's Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=193061