dockapps/wmbattery
Christoph Fritz 9c6faa3682 wmbattery: upower - don't exit after suspend/hibernation wakup
Immediately after suspend/hibernation wakup cycle, up_client_get_devices()
can fail:

 libupower-glib-WARNING **: up_client_get_devices failed: Timeout was reached

Since we do not interpret the UPower signals, just don't exit wmbattery after
first up_client_get_devices() failure.
2015-05-14 11:44:03 +01:00
..
autoconf Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
acpi.c wmbattery: Consistent formatting in source. 2014-10-05 19:18:50 +01:00
acpi.h wmbattery: Consistent formatting in source. 2014-10-05 19:18:50 +01:00
apm.h wmbattery: Use AC_CHECK_LIB instead of AC_CHECK_HEADERS to check for libapm. 2015-02-20 16:59:53 +00:00
battery_blink.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
battery_high.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
battery_low.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
battery_medium.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
battery_none.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
bigfont.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
ChangeLog wmbattery: Bump to version 2.47. 2015-02-20 16:59:53 +00:00
charging.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
configure.ac wmbattery: Bump to version 2.47. 2015-02-20 16:59:53 +00:00
dial_bright.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
dial_dim.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
face.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
GPL wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
INSTALL wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
Makefile wmbattery: Makefile - use autoheader too 2015-05-14 11:44:03 +01:00
mask.xbm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
nocharging.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
plugged.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
README Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
simplehal.c wmbattery: Consistent formatting in source. 2014-10-05 19:18:50 +01:00
simplehal.h wmbattery: Consistent formatting in source. 2014-10-05 19:18:50 +01:00
smallfont.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
sonypi.c wmbattery: Restore BSD support. 2014-10-05 19:18:50 +01:00
sonypi.h wmbattery: Restore BSD support. 2014-10-05 19:18:50 +01:00
TODO Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
unplugged.xpm wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
upower.c wmbattery: upower - don't exit after suspend/hibernation wakup 2015-05-14 11:44:03 +01:00
upower.h wmbattery: Add to repository. 2014-09-21 10:11:55 +01:00
wmbattery.1 wmbattery: Change manpage section from deprecated 1x to 1. 2015-05-14 11:44:02 +01:00
wmbattery.c wmbattery: Avoid redefinition of apm_read/apm_exists in *BSD. 2015-02-20 16:59:53 +00:00
wmbattery.h wmbattery: Consistent formatting in source. 2014-10-05 19:18:50 +01:00

wmbattery displays the status of your laptop's battery in a small icon. This
includes if it is plugged in, if the battery is charging, how many minutes
of battery life remain, battery life remaining (with both a percentage and a
graph), and battery status (high - green, low - yellow, or critical - red).

wmbattery is based on wmapm by Chris D. Faulhaber <jedgar@speck.ml.org>
-- see the copyright file for more information.

wmapm is a nice program - why have I modified it into wmbattery? Here are
some improvements in wmbattery:

  - Improved icon layout. I crammed the same information into less space
    while making the icon more elegant and visually pleasing (IMHO).
  - Easier to drag onto dock.
  - It consumes a little less memory.
  - Uses only 10 colors.
  - You can run in on a different display via -d (broken in wmapm).
  - Support for getting battery status from the sonypi driver instead of APM,
    for some Sony laptops that do not have apm support.
  - ACPI support, including multiple battery support and battery charging
    completion countdown timer.
  - HAL support.
  - upower support.
  - Can make its own estimatess of time remaining or time until full
    charge, even if APM does not.

Conversely, here are some reasons to stick with wmapm:

  - You like its look.
  - It has a neat rainbow-colored progress bar.
  - It has buttons to suspend the laptop and stuff.
  - It may be more actively and/or better maintained. Or not.
    Decide for yourself.

Still, forking is evil, and if I was doing this all over again, I suppose
I'd try to add theme support to wmamn so it could morph into wmbattery with
a theme. Oh well.

The homepage for wmbattery is <http://kitenet.net/~joey/code/wmbattery/>

-- Joey Hess <joey@kitenet.net>