Package: pm-utils Version: 1.4.1-8 I have an HP Elitebook 2760p which can have an additional battery connected through the dockingport, when the system wakes up from suspend, every so often it detects the wrong battery (which reads 0% since it's not present), decides it's about to die from lack of electricity and hibernates itself.
Essentially the behavior is correct (if I really had a low battery I would be very happy that the system detected it in time), but here the behavior is very unwanted (since hibernates can take several minutes and the wakeup the same amount of time), I would very much appreciate it if there was something like shutdown -c but for pm-hibernate. So far I have tried to create my own hook in /etc/pm/sleep.d/ which kills the process that calls it when the action is 'hibernate', but that didn't do the trick, the only script that stopped hibernate was a script with a syntax error but that also prevented suspend which I do want to happen. Pointers on how to get the pid/name of the pm process and stop it until you decide how to go forward would be very welcome. Thanks and regards, Eli -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

