diff options
author | Pablo Correa Gómez <ablocorrea@hotmail.com> | 2021-06-17 14:25:33 +0200 |
---|---|---|
committer | Pablo Correa Gómez <ablocorrea@hotmail.com> | 2021-06-18 13:08:59 +0200 |
commit | 9b2ab574e1c7d70a1e90a0ccf4cfb940af9b85bb (patch) | |
tree | 3346771b1ff1cf2a73ed7bc726f6c502c6a8ce91 /src/up-daemon.h | |
parent | b64902eed2efa1e91e8faa49b44bf6b1982b8375 (diff) | |
download | upower-9b2ab574e1c7d70a1e90a0ccf4cfb940af9b85bb.tar.gz |
daemon: Make get_device_charge_icon() public
Diffstat (limited to 'src/up-daemon.h')
-rw-r--r-- | src/up-daemon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/up-daemon.h b/src/up-daemon.h index 7160e0e..2300ebe 100644 --- a/src/up-daemon.h +++ b/src/up-daemon.h @@ -82,6 +82,9 @@ UpDeviceLevel up_daemon_compute_warning_level(UpDaemon *daemon, gboolean power_supply, gdouble percentage, gint64 time_to_empty); +const gchar *up_daemon_get_charge_icon (gdouble percentage, + UpDeviceLevel battery_level, + gboolean charging); void up_daemon_start_poll (GObject *object, GSourceFunc callback); |