Dear Maintainer, when using xfce4-power-manager as a standalone application without the XFCE desktop environment (for example with LXDE or Awesome), it does not ask for shutdown when battery power is critically low and the user has configured it to ask in this case. This is caused by xfpm_manager_ask_shutdown(...) in xfpm-manager.c, which just tests if the session manager is running, and if not, just returns without an action. This probably leads to confusion, because the configuration dialog still allows the user to select "Ask" as the preferred action in case of critical power. I'm currently imagining three possible solutions for this unexpected behaviour. First, one could test if the session is managed by XFCE in the configuration dialog, and prohibit the user from selecting "Ask" as the preferred action in case of critical power, but this is surely the least favorable solution. A better alternative would be to simply warn the user through a popup notification (or libnotify) that the power is just about to die and that data may be lost. The best solution I currently have in mind is to implement a warning dialog like the one xfce4-session displays in that case, and just let the power manager do a clean shutdown (hibernate, suspend) by itself, as the infrastructure for that already exists (see xfpm_manager_shutdown(...) and xfpm_power_sleep(...)). Thanks, -- Roland
*** Bug 8549 has been marked as a duplicate of this bug. ***
We might have to get rid of the critical actions either way, because with UPower1.0/0.99 they're not configurable anymore (and according to UPower devs shouldn't be): http://lists.freedesktop.org/archives/devkit-devel/2013-November/001533.html So I don't think we'll add an extra dialog for something that is going away entirely.