Révision 3d77cc35
Ajouté par Steven Selph il y a plus de 9 ans
etc/inc/system.inc | ||
---|---|---|
57 | 57 |
if (!empty($config['system']['powerd_battery_mode'])) |
58 | 58 |
$battery_mode = $config['system']['powerd_battery_mode']; |
59 | 59 |
|
60 |
mwexec("/usr/sbin/powerd -b $battery_mode -a $ac_mode"); |
|
60 |
$normal_mode = "hadp"; |
|
61 |
if (!empty($config['system']['powerd_normal_mode'])) |
|
62 |
$normal_mode = $config['system']['powerd_normal_mode']; |
|
63 |
|
|
64 |
mwexec("/usr/sbin/powerd -b $battery_mode -a $ac_mode -n $normal_mode"); |
|
61 | 65 |
} |
62 | 66 |
} |
63 | 67 |
|
Formats disponibles : Unified diff
Add powerd normal mode flag (-n)