Their should be script which invoke when laptop runs in battery power. It change the cpu-frequency, usb_suspense etc.
Which script is done this job in Ubuntu? I need to change power saving strategy. Every time Ubuntu suspense USB device when run in battery power.
For that I have to run command manually to off the USB suspense.