12.5. Software Interface
The cpuidle framework defines a standard interface through /sys interface.
12.5.1. cpuidle
The parameters controlling cpuidle can be viewed via via /sys interface.
current_governor_ro lists the current governor.
current_driver lists the current driver.
The cpuidle interface also exports information about each idle state. This
information is organized in a directory corresponding to each idle state.
Version 02.01.01.08
$ ls -1 /sys/devices/system/cpu/cpuidle/
current_driver
current_governor_ro
$
$ cat /sys/devices/system/cpu/cpuidle/current_governor_ro
menu
$
$ cat /sys/devices/system/cpu/cpuidle/current_driver
omap3_idle
$
$ ls -1 /sys/devices/system/cpu/cpu0/cpuidle
state0
state1
state2
state3
state4
state5
state6
$
$ ls -1 /sys/devices/system/cpu/cpu0/cpuidle/state0
desc
latency
name
power
Platform Support Products
Power Management
Software Interface
213