File: powerd.conf

package info (click to toggle)
olpc-powerd 23-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 908 kB
  • ctags: 229
  • sloc: sh: 2,679; ansic: 887; makefile: 69
file content (101 lines) | stat: -rw-r--r-- 3,973 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Config file for powerd
#
# config_BATTERY_TIME_{DIM,SLEEP,BLANK}
# config_EBOOK_TIME_{DIM,SLEEP,BLANK}
# config_PLUGGED_TIME_{DIM,SLEEP,BLANK}
# These are the time in seconds (measured from last user
# activity) until a) the laptop screen dims, b) the laptop
# sleeps, and c) the laptop screen blanks.  All three can be
# scheduled in any order.  Setting any to '0' suppresses that
# action.
#
# config_MAX_SLEEP_BEFORE_SHUTDOWN
#  Once the laptop sleeps and the screen is blank, it will shut
#  down after this amount of time.  '0' will prevent auto-shutdown.
#
# config_ALLOW_SHUTDOWN_WHEN_PLUGGED
#  If this is disabled, the laptop will never automatically shut
#  down when using external power.  (It may still sleep, however.)
#
# config_IDLE_DIM_LEVEL
#  Brightness level when the screen is automatically dimmed.  Set
#  this to 15 to prevent dimming.  Set this to 0 to allow the
#  backlight to go off completely.
#
# config_CONFIRM_SECONDS
#  How long the shutdown/suspend confirmation splash screen stays
#  visible before the laptop automatically suspends.  If this is
#  zero, there will be no splash screen:  the laptop will suspend
#  immediately when the button is pushed.
#
# config_UNFREEZE_SECONDS
#  How long after starting will powerd wait before gratuitously
#  unfreezing the DCON, to activate the display.  This allows most
#  of the intermediate stages of boot screens to be hidden until
#  the window manager is ready.
#
# config_MESH_DURING_SUSPEND  (only on XO-1)
#  This controls whether the wireless remains powered while the
#  laptop is fully suspended (i.e., sleeping with a dark screen).
#  The only reason to set this to "yes" is if you want the laptop
#  to forward packets for other mesh users while you're not using it.
#
# config_WAKE_ON_WLAN
#  Controls whether a packet destined for your laptop will wake it
#  up from idle suspend, in much the same way that a keystroke or
#  mouse movement will wake it up.  Also see the following option:
#
# config_WLAN_WAKE_FROM_BLANK_IDLE_SLEEP
#  Controls whether the config_WAKE_ON_WLAN setting (above) also
#  applies once the screen has blanked.  Laptops which are
#  regularly accessed remotely should probably set this to "yes",
#  otherwise it saves power to leave it set to "no".
#
# config_KEYPRESS_WAKE_FROM_BLANK_IDLE_SLEEP
#  If the screen is blank and the laptop has suspended due to the
#  user being idle, then setting this to "yes" will let user
#  activity wake the laptop.  Otherwise, being suspended with a
#  blank screen (which is visually the same as a power
#  button-induced sleep) will require the power button to wake. 
#  If you like having the keyboard completely disabled during any
#  "dark" sleep, then set this to "no".
#
#
# config_CPU_IDLE_LIMIT
#  If the cpu is idle less than this percentage, then the laptop
#  won't suspend.
#
# config_SLEEP_WHEN_LID_CLOSED
#  This is normally left enabled, and causes the laptop to go to sleep
#  when closed.  If disabled, it will stay awake when the lid is
#  closed, and will only sleep because of other timeouts.
#
# config_PWRLOG_INTERVAL
# config_PWRLOG_DIR 
# config_PWRLOG_LOGSIZE
# config_PWRLOG_LOGDIRSIZE
#  Refer to the notes in the powerd script itself for descriptions
#  of how these control powerd's optional power logging.
#
config_CPU_IDLE_LIMIT="85"
config_BATTERY_TIME_DIM="180"
config_BATTERY_TIME_SLEEP="15"
config_BATTERY_TIME_BLANK="420"
config_EBOOK_TIME_DIM="180"
config_EBOOK_TIME_SLEEP="15"
config_EBOOK_TIME_BLANK="420"
config_PLUGGED_TIME_DIM="180"
config_PLUGGED_TIME_SLEEP="15"
config_PLUGGED_TIME_BLANK="420"
config_IDLE_DIM_LEVEL="5"
config_MESH_DURING_SUSPEND="no"
config_WAKE_ON_WLAN="yes"
config_WLAN_WAKE_FROM_BLANK_IDLE_SLEEP="no"
config_KEYPRESS_WAKE_FROM_BLANK_IDLE_SLEEP="yes"
config_MAX_SLEEP_BEFORE_SHUTDOWN="14400"
config_ALLOW_SHUTDOWN_WHEN_PLUGGED="no"
config_SLEEP_WHEN_LID_CLOSED="yes"
config_CONFIRM_SECONDS="7"
config_UNFREEZE_SECONDS="12"
config_PWRLOG_INTERVAL="0"