bipin.nag
January 18th, 2012, 06:40 PM
I wanted to use the power status of my laptop in my programs
like how do I use power status to trigger some actions
For example
if power status changes from charging to battery start/stop a service
or if battery power falls below some percentage sleep
NOT that i want to make some power manager for my system
just take the inputs from the power status to do stuff in form of bash scripts
like how do I use power status to trigger some actions
For example
if power status changes from charging to battery start/stop a service
or if battery power falls below some percentage sleep
NOT that i want to make some power manager for my system
just take the inputs from the power status to do stuff in form of bash scripts