diff --git a/conf.default/config.xml b/conf.default/config.xml
index e8fd2b2732..a0cabd501c 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -200,6 +200,7 @@
hadp
hadp
+ hadp
monthly
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 9bb32ee6a5..3dead28785 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -57,7 +57,11 @@ function activate_powerd() {
if (!empty($config['system']['powerd_battery_mode']))
$battery_mode = $config['system']['powerd_battery_mode'];
- mwexec("/usr/sbin/powerd -b $battery_mode -a $ac_mode");
+ $normal_mode = "hadp";
+ if (!empty($config['system']['powerd_normal_mode']))
+ $normal_mode = $config['system']['powerd_normal_mode'];
+
+ mwexec("/usr/sbin/powerd -b $battery_mode -a $ac_mode -n $normal_mode");
}
}
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php
index a224ffb91f..abfdda50c8 100644
--- a/usr/local/www/system_advanced_misc.php
+++ b/usr/local/www/system_advanced_misc.php
@@ -78,6 +78,10 @@ $pconfig['powerd_battery_mode'] = "hadp";
if (!empty($config['system']['powerd_battery_mode']))
$pconfig['powerd_battery_mode'] = $config['system']['powerd_battery_mode'];
+$pconfig['powerd_normal_mode'] = "hadp";
+if (!empty($config['system']['powerd_normal_mode']))
+ $pconfig['powerd_normal_mode'] = $config['system']['powerd_normal_mode'];
+
$crypto_modules = array('glxsb' => gettext("AMD Geode LX Security Block"),
'aesni' => gettext("AES-NI CPU-based Acceleration"));
@@ -163,6 +167,7 @@ if ($_POST) {
$config['system']['powerd_ac_mode'] = $_POST['powerd_ac_mode'];
$config['system']['powerd_battery_mode'] = $_POST['powerd_battery_mode'];
+ $config['system']['powerd_normal_mode'] = $_POST['powerd_normal_mode'];
if($_POST['crypto_hardware'])
$config['system']['crypto_hardware'] = $_POST['crypto_hardware'];
@@ -396,6 +401,14 @@ function tmpvar_checked(obj) {
>=gettext("Minimum");?>
>=gettext("Maximum");?>
+
+ =gettext("On Unknown Power Mode"); ?> :
+
+ >=gettext("Hiadaptive");?>
+ >=gettext("Adaptive");?>
+ >=gettext("Minimum");?>
+ >=gettext("Maximum");?>
+
=gettext("The powerd utility monitors the system state and sets various power control " .
"options accordingly. It offers four modes (maximum, minimum, adaptive " .