batt
authorBrenden Matthews <brenden1@rty.ca>
Tue, 7 Mar 2006 06:39:25 +0000 (06:39 +0000)
committerBrenden Matthews <brenden1@rty.ca>
Tue, 7 Mar 2006 06:39:25 +0000 (06:39 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@553 7f574dfc-610e-0410-a909-a81674777703

src/linux.c

index 0ad6676..3770683 100644 (file)
@@ -1182,11 +1182,7 @@ void get_battery_stuff(char *buf, unsigned int n, const char *bat)
                /* charged */
                /* thanks to Lukas Zapletal <lzap@seznam.cz> */
                else if (strcmp(charging_state, "charged") == 0) {
-                       if (acpi_last_full != 0 && remaining_capacity != acpi_last_full) {
-                               sprintf(last_battery_str, "charged 100%");
-                       } else {
                                strcpy(last_battery_str, "charged");
-                       }
                }
                /* unknown, probably full / AC */
                else {