diff options
Diffstat (limited to 'battstat/battstat-upower.c')
-rw-r--r-- | battstat/battstat-upower.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c index c22d50c7..2e8b4b4c 100644 --- a/battstat/battstat-upower.c +++ b/battstat/battstat-upower.c @@ -89,7 +89,7 @@ battstat_upower_initialise (void (*callback) (void)) #if UP_CHECK_VERSION(0, 99, 0) GPtrArray *devices; - devices = up_client_get_devices(upc); + devices = up_client_get_devices2 (upc); if (!devices) { goto error_shutdownclient; } @@ -149,7 +149,7 @@ void battstat_upower_get_battery_info( BatteryStatus *status ) { - GPtrArray *devices = up_client_get_devices( upc ); + GPtrArray *devices = up_client_get_devices2 (upc); /* The calculation to get overall percentage power remaining is as follows: * |