Jeremy Jay <[EMAIL PROTECTED]> writes: > Hope someone else finds this handy, I let my battery die one too many > times because I never noticed how low it was...
I had this problem too. My solution was this in my status script:
battery_pct=$(get_charge)
if [ $battery_pct -eq 10 ]; then
xmessage "Better go find some juice, hoss."
elif [ $battery_pct -lt 5 ]; then
power Hibernate
fi
Haven't run the battery down since.
Cool patch though.
Neale
