upower/src/linux
Martin Pitt 07b95b8e27 linux: Fix batteries which report capacity, but not energy/charge
Many Android devices only export charge_full and capacity, but not charge_now
or energy_now. In that case, directly read the percentage (from the capacity
attribute) and calculate current energy from that.

Thanks to Seth Forshee for the original patch!

https://bugs.freedesktop.org/show_bug.cgi?id=68337
2013-08-23 08:31:20 +02:00
..
hidpp-device.c hid++v1 detection for unreachable devices and features upgrade 2013-03-28 12:13:31 +00:00
hidpp-device.h hid++v1 detection for unreachable devices and features upgrade 2013-03-28 12:13:31 +00:00
hidpp-test.c Factor out the Logitech Unifying support to support other devices 2013-01-10 12:08:46 +00:00
integration-test linux: Fix batteries which report capacity, but not energy/charge 2013-08-23 08:31:20 +02:00
Makefile.am Drop --enable-systemd and linking to libsystemd-daemon 2013-03-21 07:16:56 +01:00
sysfs-utils.c Don't spam the log when we're saving history when on low power 2011-10-06 09:12:04 +01:00
sysfs-utils.h Initial split to make DeviceKit-power compile without GUdev for non-linux platforms 2009-07-27 16:40:11 +01:00
up-backend.c Fix test for logind availability 2013-03-21 07:10:18 +01:00
up-device-csr.c Fix crash in up_device_csr_finalize() 2012-04-03 12:28:27 +02:00
up-device-csr.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-device-hid.c Clamp the UPS percentage from 0 to 100 to fix syslog spam 2012-02-17 10:30:47 +00:00
up-device-hid.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-device-idevice.c Port from EggDebug to the GLib built-in logging framework 2010-11-01 11:28:31 +00:00
up-device-idevice.h Add battery query support for iDevices 2010-05-28 13:49:56 +01:00
up-device-supply.c linux: Fix batteries which report capacity, but not energy/charge 2013-08-23 08:31:20 +02:00
up-device-supply.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-device-unifying.c Locate non-unifying receiver by looking for hidraw with hiddev exposed. 2013-03-28 12:14:11 +00:00
up-device-unifying.h Factor out the Logitech Unifying support to support other devices 2013-01-10 12:08:46 +00:00
up-device-wup.c Port from EggDebug to the GLib built-in logging framework 2010-11-01 11:28:31 +00:00
up-device-wup.h trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
up-dock.c Re-coldplug dock status when resuming from sleep 2012-04-11 17:54:11 +01:00
up-dock.h Add an option for polling dock devices in UPower.conf, defaulting to false 2011-03-03 14:02:27 +00:00
up-input.c trivial: remove an overzealous warning when starting up 2011-09-28 16:12:40 +01:00
up-input.h trivial: DkpInput -> UpInput (no ABI or API break) 2010-01-18 13:15:47 +00:00
up-native.c trivial: DkpNative -> UpNative (no ABI or API break) 2010-01-18 13:12:37 +00:00