Comment 20 for bug 527458

Revision history for this message
Abhishek Dasgupta (abhidg) wrote :

Quick workaround script which I have bound to a key
to get the time remaining stuff

#!/bin/sh
timeremaining="$(upower -d | grep "time to empty" | awk -F : '{print $2}' | cut -c 8-)"
notify-send "$timeremaining" "before the juice runs out"