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 Sat 23 Aug 2014, 05:45
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 [1 Post]  
Author Message
Iguleder


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

PostPosted: Sun 15 Aug 2010, 14:50    Post subject:  Power saving tweaks
Subject description: 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:
Code:
iwpriv wlan0 set_power 5


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


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


Enable SCSI power saving:
Code:
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:
Code:
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):
Code:
hciconfig hci0 down


Set the brightness to 0 on boot (you can increase it manually anyway):
Code:
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 poster's website MSN Messenger 
ICQ Number 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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