Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore batt_therm devices. | Marius Gripsgard | 2018-03-25 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | Ported from UBports power indicator: commit 431114ed4f6d457822655ad57901e7e640f99bca Author: Marius Gripsgard <mariogrip@ubuntu.com> Date: Sun Aug 13 00:08:05 2017 +0200 Ignore "batt_therm" devices (fixes: https://github.com/ubports/ubports-touch/issues/94) This ignores "batt_therm" devices since they do not provide correct values. "batt_therm" is only used for temperature of the battery and seems to appear as a "battery" device in upower Ported-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | ||||
* | Make device with power supply has higher sorting priority. (LP: #1100546) | Charles Kerr | 2017-05-15 | 1 | -1/+5 |
| | |||||
* | more copyediting | Charles Kerr | 2014-09-08 | 1 | -35/+50 |
| | |||||
* | copyediting. | Charles Kerr | 2014-09-08 | 1 | -53/+53 |
| | |||||
* | in device-provider-upower, use glib's G_ADD_PRIVATE() macro | Charles Kerr | 2014-09-08 | 1 | -29/+35 |
| | |||||
* | add upower 0.99 support | Charles Kerr | 2014-09-07 | 1 | -149/+239 |
| | |||||
* | fix some compiler warnings generated by clang static analyzer | Charles Kerr | 2014-07-13 | 1 | -6/+4 |
| | |||||
* | We really only need to keep a handful of properties up-to-date for each ↵ | Charles Kerr | 2013-11-04 | 1 | -54/+128 |
|\ | | | | | | | | | | | | | | | upower device. Given that upower requires us to refetch all properties with GetAll whenever it signals that it's changed, we really don't need to keep bus proxies alive for each device. Removing the autogenerated proxy code and just using a couple of the direct GDBusConnection API calls cuts out some unnecessary overhead according to health-check. See the before & after profile logs attached to the ticket. Fixes: https://bugs.launchpad.net/bugs/1221871. Approved by Lars Uebernickel, PS Jenkins bot. | ||||
| * | in on_bus_ready(), use g_error_matches(). | Charles Kerr | 2013-11-03 | 1 | -1/+1 |
| | | |||||
| * | in on_device_properties_ready(), improve the g_warning() text to be more useful. | Charles Kerr | 2013-11-03 | 1 | -1/+3 |
| | | |||||
| * | in on_device_properties_ready(), use g_error_matches | Charles Kerr | 2013-11-03 | 1 | -1/+1 |
| | | |||||
| * | don't create proxies for each upower device. | Charles Kerr | 2013-10-03 | 1 | -54/+126 |
| | | |||||
* | | Listen for the 'Resuming' signal from upower. When it's received, refresh ↵ | Charles Kerr | 2013-10-01 | 1 | -0/+18 |
|/ | | | | all our devices. | ||||
* | adjust device-provider-upower's timer to reduce how many times we pull the ↵ | Charles Kerr | 2013-06-19 | 1 | -48/+86 |
| | | | | device's properties over the bus. | ||||
* | in provider-upower.c, clear its private hashtable in dispose() and destroy ↵ | Charles Kerr | 2013-06-19 | 1 | -1/+16 |
| | | | | it in finalize() | ||||
* | lower the interval on the upower timer to make our updates more responsive | Charles Kerr | 2013-06-19 | 1 | -1/+1 |
| | |||||
* | in device-provider-upower's dispose(), disconnect from our proxy's signal ↵ | Charles Kerr | 2013-06-17 | 1 | -4/+11 |
| | | | | before we unref the proxy | ||||
* | add device-provider-upower, a UPower implementation of device-provider | Charles Kerr | 2013-06-16 | 1 | -0/+364 |