/etc/init.d/ondemand : sleeping prevents the governor to change when battery operated

Bug #1420604 reported by Jérôme
6
This bug affects 1 person
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.d/ondemand script sleeps
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
ProcVersionSignature: Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13
Uname: Linux 3.13.0-45-generic i686
NonfreeKernelModules: nvidia
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)

Revision history for this message
Jérôme (jerome-bouat) wrote :
summary: - /etc/init.d/ondemand : sleep prevent governor to change when battery
- operated
+ /etc/init.d/ondemand : sleeping prevents the governor to change when
+ battery operated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.