2

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.

Bruno Pereira
  • 74,715
shantanu
  • 8,835

1 Answers1

2

as suggested by Ubuntu and

Power Management Wiki

Measure power consumption with powertop

Before you start making any changes, it is a good idea to first get a base line for what your current power consumption is:

sudo aptitude install powertop
sudo powertop

You must be running on battery power for powertop to get the machine's current watt usage.

Using less power with pm-powersave

The pm-utils package comes with scripts for managing low-power modes.

sudo aptitude install pm-utils

In order to enter low power mode, run this:

sudo pm-powersave true

In order to leave low power mode, run this:

sudo pm-powersave false
Ringtail
  • 16,285