/etc/init.d/ondemand : sleeping prevents the governor to change when battery operated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I would like to change the cpu frequency governor when my laptop is operating on battery by using the below command into a script in /etc/pm/power.d :
---
cpufreq-set -g powersave
---
When the laptop is started on battery operation :
1. the /etc/init.
2. then the "powersave" governor I defined is applied by pm-utils
3. when the "ondemand" script wakes up, the powersave policy is applied and it overides the policy I choose for battery operation.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initscripts 2.88dsf-41ubuntu6
ProcVersionSign
Uname: Linux 3.13.0-45-generic i686
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
CurrentDesktop: LXDE
Date: Wed Feb 11 04:53:20 2015
InstallationDate: Installed on 2014-06-28 (227 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
SourcePackage: sysvinit
UpgradeStatus: No upgrade log present (probably fresh install)