Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1576596
| From | Bastien Nocera <hadess@hadess.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 04/15] HID: logitech-hidpp: battery: remove overloads and provide ONLINE |
| Date | 2017-02-08 15:10 +0100 |
| Message-ID | <t8B6x-1k4-11@gated-at.bofh.it> (permalink) |
| References | <t6qoV-58b-3@gated-at.bofh.it> <t6qoW-58b-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 2017-02-02 at 15:12 +0100, Benjamin Tissoires wrote: > When ONLINE isn't set, upower should ignore the battery capacity, so > there > is no need to overload it with some random values. In usage, the capacity value will drop to "0": -(/sys/class/power_supply/hidpp_battery_1)-> cat capacity 0 -(/sys/class/power_supply/hidpp_battery_1)-> cat online 1 And GNOME will popup a warning about the device.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 04/15] HID: logitech-hidpp: battery: remove overloads and provide ONLINE Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-02-02 15:20 +0100 Re: [PATCH v2 04/15] HID: logitech-hidpp: battery: remove overloads and provide ONLINE Bastien Nocera <hadess@hadess.net> - 2017-02-08 15:10 +0100
csiph-web