← Back to team overview

touch-packages team mailing list archive

[Bug 1411802] [NEW] "powersave" governor should be listed as one possible value for the ondemand init.d script

 

Public bug reported:

On my system i have the following CPU:
Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz

The only possible options for the scaling governors are
"powersave" and "performance"

$ cat  /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
performance powersave

The intention of the /etc/init.d/ondemand script is to select the autoscaling cpu governor
The powersave is the equivalent of "ondemand" or "interactive".


A patch may be:


$ diff ondemand /etc/init.d/ondemand -u
--- ondemand	2015-01-16 14:15:03.450942021 -0500
+++ /etc/init.d/ondemand	2015-01-16 13:49:58.392155974 -0500
@@ -36,6 +36,10 @@
 			GOVERNOR="ondemand"
 			break
 			;;
+		*powersave*)
+			GOVERNOR="powersave"
+			break
+			;;
 		*)
 			exit 0
 			;;

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1411802

Title:
  "powersave" governor should be listed as one possible value for the
  ondemand init.d script

Status in sysvinit package in Ubuntu:
  New

Bug description:
  On my system i have the following CPU:
  Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz

  The only possible options for the scaling governors are
  "powersave" and "performance"

  $ cat  /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
  performance powersave

  The intention of the /etc/init.d/ondemand script is to select the autoscaling cpu governor
  The powersave is the equivalent of "ondemand" or "interactive".

  
  A patch may be:

  
  $ diff ondemand /etc/init.d/ondemand -u
  --- ondemand	2015-01-16 14:15:03.450942021 -0500
  +++ /etc/init.d/ondemand	2015-01-16 13:49:58.392155974 -0500
  @@ -36,6 +36,10 @@
   			GOVERNOR="ondemand"
   			break
   			;;
  +		*powersave*)
  +			GOVERNOR="powersave"
  +			break
  +			;;
   		*)
   			exit 0
   			;;

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1411802/+subscriptions


Follow ups

References