View Single Post
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#7
To answer the original question:
Applications can detect via D-Bus when they stop charging. Canola would have to implement this special behavior however. Alternatively it should be possible with the package dbus-scripts (IIRC) to kill (or put to sleep) canola when charging stops and start (or resume) canola again when charging starts.