Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 21 Nov 2014, 15:33
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Power saving tweaks
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 11 Aug 2009
Posts: 1923
Location: Israel, somewhere in the beautiful desert

PostPosted: Sun 15 Aug 2010, 14:50    Post_subject:  Power saving tweaks
Sub_title: Small tips that extend battery life on laptops and netbooks

Here are some power-saving tweaks you can use to increase battery life, they're very useful on netbooks. You can add these lines of code to any script that runs when Puppy boots, init scripts or /root/.xinitrc.

It makes sense to add these to .xinitrc, Puppy boots faster when power saving is disabled and once it's up, power saving is enabled Wink

They can cause some problems, so be careful and check all default values before you apply these, just in case Smile

Note: there's another trick that enables automatic suspend for USB devices that report no activity, I don't recommend it because it makes USB mice freeze Crying or Very sad

Enable power saving on wlan0:
iwpriv wlan0 set_power 5

Enable power saving on multicore machines (may harm performance!):
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings

Enable power saving on multi-threaded CPUs (Atom, Pentium 4 ...):
echo 1 > /sys/devices/system/cpu/sched_smt_power_savings

Enable SCSI power saving:
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy

Increase dirty_writebacks from 5 seconds to 15 seconds and turn on laptop mode:
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo 5 > /proc/sys/vm/laptop_mode

Turn off the Bluetooth interface hci0 on boot (if you have a proper Bluetooth management applet you can turn Bluetooth on when you need it):
hciconfig hci0 down

Set the brightness to 0 on boot (you can increase it manually anyway):
echo 0 > /sys/class/backlight/acpi_video0/brightness

Other nice ideas:
- Set the brightness to 0 on init scripts, then set it to the default with .xinitrc.
- The same with all other tweaks.
- Make the init scripts check the battery status through /proc and /sys and enable/disable these tweaks according to it, i.e if it's at 20% or less, the script applies power saving. Idea

My homepage
Back to top
View user's profile Send_private_message Visit_website MSNM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0437s ][ Queries: 11 (0.0038s) ][ GZIP on ]