I was browsing the code for indicator-power.c and only following icons are
referenced for chargning state (lines :
battery-000-charging
battery-caution-charging-symbolic (doesn't exist)
battery-caution-charging (doesn't exist)
gpm-battery-000-charging
All available icons are not used and is clearly visible in the code
(lines 486-489). By looking the code for the discharge state, I suggest
replace the original lines 486-489 with the following:
const gchar *percentage = get_icon_percentage_for_status (suffix_str);
g_string_append_printf (filename, "battery-%s-charging;", suffix_str);
g_string_append_printf (filename, "battery-%s-charging-symbolic;",
suffix_str);
g_string_append_printf (filename, "battery-%s-charging;", percentage);
g_string_append_printf (filename, "gpm-battery-%s-charging;", percentage);
After I thoroughly test it, I'll report if the fix is correct.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1048041
Title:
battery icon doesn't show it is charging when it's plugged in
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1048041/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs