File laptop-mode-1.53_conf.diff of Package laptop-mode-tools

Index: b/etc/laptop-mode/laptop-mode.conf
================================================================================
--- laptop-mode-tools_1.53/etc/laptop-mode/laptop-mode.conf
+++ laptop-mode-tools_1.53/etc/laptop-mode/laptop-mode.conf
@@ -1,5 +1,7 @@
 ###############################################################################
 #
+# SEE THE NOTES ON THE SUSE PACKAGE BELOW THIS SECTION!
+#
 # Configuration for Laptop Mode Tools
 # -----------------------------------
 #
@@ -36,6 +38,20 @@
 # files as well, there are many useful power saving tools in there!
 #
 ###############################################################################
+#                                                                                                                                                      
+# NOTES FOR THE SUSE PACKAGE:                                                                                                                          
+# ---------------------------                                                                                                                          
+#                                                                                                                                                      
+# i patched the main laptop_mode script, so that it has two additional                                                                                 
+# parameters: "start" and "stop". If you call "laptop_mode start", then it                                                                             
+# will force the "on battery" profile, if you call "laptop_mode stop" then it                                                                          
+# will force the "on ac power" profile.                                                                                                                
+#                                                                                                                                                      
+# If laptop-mode is enabled with "/etc/init.d/laptop-mode start", then                                                                                 
+# pm-utils will call "laptop_mode start", when it is called via the HAL                                                                                
+# setLowPower method, and "laptop_mode stop" when this method is disabled.                                                                             
+#                                                                                                                                                      
+###############################################################################
 
 
 ###############################################################################
@@ -248,7 +264,7 @@
 # Should laptop mode tools add the "noatime" option to the mount options when 
 # laptop mode is enabled?
 #
-CONTROL_NOATIME=0
+CONTROL_NOATIME=1
 
 # Should laptop use relatime instead of noatime? The "relatime" mount option has
 # more standards-compliant semantics, and allows more applications to work,
@@ -259,7 +275,7 @@
 #
 # Should laptop mode tools control the hard drive idle timeout settings?
 #
-CONTROL_HD_IDLE_TIMEOUT=1
+CONTROL_HD_IDLE_TIMEOUT=0
 
 
 #
@@ -282,7 +298,7 @@
 #
 # Power management for HD (hdparm -B values)
 #
-BATT_HD_POWERMGMT=1
+BATT_HD_POWERMGMT=128
 LM_AC_HD_POWERMGMT=254
 NOLM_AC_HD_POWERMGMT=254
 
openSUSE Build Service is sponsored by