I have installed the 13.04 final release and so far I am loving it more 12.10. I'm trying to install the Jupiter power settings app but, I read it is no longer compatible with the new kernel. Is there a similar program or a way to manage the power settings on 13.04?
I have been using TLP for a few weeks and my laptop is running 4 to 5 °C cooler than on Windows 7/8. So here is how to install and configure TLP:
tlp-rdw – Radio Device Wizard - Need to enable/disable & Power saving (Wifi / Bluetooth )
smartmontools - needed by tlp-stat to display disk drive S.M.A.R.T. data
ethtool - needed to disable wake on lan
tp-smapi-dkms ThinkPad only, tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
acpi-call-tools ThinkPad only, acpi-call is needed for battery charge thresholds on Sandy Bridge and newer models
TLP Indicator for Unity A Unity Indicator created to comfortably switch between AC and BAT Modes. Use it at your own risk. Download here: indicator-TLP.py
Removing default Ubuntu cpu frequency config
( This is not a general prerequisite for TLP but is only needed if the user decides to change the default governor. If a user issues the command without changing the TLP setting too, he ends up with "perfomance", which is quite bad for battery life.), Apply to section 3.) Processor and Frequency Scaling
The main config file of TLP is at /etc/default/tlp
Set to 0 to disable TLP (Reboot needed), It should be enabled so leave the default value
DISK_IDLE_SECS_ON_BAT=2 = You can either leave the default value (2) or you can edit it as 5, By default Ubuntu uses 5, its up to you, read the gives below help
This controls how agressive the system is at trying to avoid writing to disk. The longer the disk is idle, the more power you can save.
This is only active on battery power, and it restores these values to kernel defaults when on AC power.
Defaults 5, which enables laptop mode and forces the system to wait 5 seconds whenever something asks to write to disk to flush out as much data as we can.
Leave the default value
Defaults 60, which means that the kernel will not start forcing process to write out file information that has been changed but not saved until 60% of usable system memory is filled with dirty information.
Remove the hash and edit it as conservative.
Its up to you what you want, you can also use ON_BAT=powersave
Select a cpu frequency scaling governor: ondemand/powersave/performance/conservative
The governor decides what frequency should be used.
To use "conservative" over "powersave – especially on AC – should not be a general recommendation but only an option for hardware that produces excessive heat or fan noise.
Set the min/max frequency available for the scaling governor. Possible values strongly depend on your cpu. For available frequencies see tlp-stat output, Section "+++ Processor".
Hint: Parameters are disabled by default, remove the leading # to enable them, otherwise kernel default values are used.
Set the cpu "turbo boost" feature: 0=disable / 1=allow ,Requires an Intel Core i processor and kernel 3.7 or later.
Important: This may conflict with your distribution's governor settings, A value of 1 does not activate boosting, it just allows it
Minimize number of used cpu cores/hyper-threads under light load conditions
Activate kernel NMI watchdog timer (0 = disabled/save power, 1=enabled). A value of 1 is relevant for kernel debugging only.
Set the "Advanced Power Management Level". Possible values range between 1 and 255:
Important: this setting may lead to increased disk drive wear and tear because of excessive read-write head unloading (recognizable from the clicking noises)
Different values for multiple disks are separated with blanks.
Select io scheduler for the disk devices: noop/deadline/cfq (Default: cfq) Separate values for multiple devices with spaces.
noop is often the best choice for memory-backed block devices (e.g. ramdisks) and other non-rotational media (flash) where trying to reschedule I/O is a waste of resources
deadline is a lightweight scheduler which tries to put a hard limit on latency
cfq tries to maintain system-wide fairness of I/O bandwidth
ALPM Aggressive Link Power Management (ALPM) is a mechanism where a SATA AHCI controller can put the SATA link that connects to the disk into a very low power mode during periods of zero I/O activity and into an active power state when work needs to be done. Tests show that this can save around 0.5-1.5 Watts of power on a typical system. ( For more check " Sources and additional help " )
( default/performance/powersave )
Hint: needs kernel boot option pcie_aspm=force on some machines
(profile method): low/mid/high/auto/default
auto = mid on BAT, high on AC; default = use hardware defaults (Kernel >= 2.6.35 only, not with fglrx driver!)
(Linux 2.6.32 and later, some adapters only!)
Y = Yes , N = No
Enable audio power saving for Intel HDA, AC97 devices (timeout in secs). A value of 0 disables / >=1 enables power save.
Set to 1 to power off optical drive in UltraBay (ThinkPads only), when running on battery. A value of 0 disables this Feature (Default). Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models. Note: an UltraBay hard disk is never powered off.
Runtime PM for all pci(e) bus devices: 0=disable / 1=enable, Warning: experimental option, could cause system instabilities
Some times my usb mouse dongle didn't work when i plug it in usb 3 port, work fine when i plug it in usb 2 port, and all my usb 3 devices are working properly no issue.
Set to 0 to disable/1 to enable usb autosuspend feature
Restores radio device state (builtin bluetooth, wifi, wwan) from previous shutdown on system startup:
0 – disable, 1 – enable
Disables builtin radio devices upon system start:
Multiple devices are separated with blanks.
I have an error that my Blue tooth device is not Disabled on start up, so if you face this problem just do the following config
And add the following line before exit 0
Save & Exit & Reboot
After installation TLP will be automatically activated upon system start.
To start it immediately without reboot or to apply changed settings use:
Use the tlp-stat terminal command to check if TLP is working properly
Check You system temperature
Show battery information only:
Show configuration only:
Show radio devices switch state only:
Show temperatures and fan speed only:
Apply Battery Settings (ignoring the actual power source):
Apply AC Settings (ignoring the actual power source):
You can check Which I/O you are using.
To examine suspected problems in TLP more closely, activate trace mode in /etc/default/tlp:
Add above mentioned line in the end /etc/default/tlp , The accumulated trace data may be read at any time with
In case the trace output is missing, you have to modify your rsyslogd configuration. Create the file
And restart the daemon
Go to Dash > search for Startup > edit
With the indicator you will be able to monitor your current CPU frequency & can change CPU frequency
Changing CPU frequency
Click on indicator
Reboot to apply the changes. You do not need other tweaks as they are already added by defaults.
Discharge the battery atleast twice a week.
I have been using Dell utility in windows and it shows my battery health to be 94%. I had 76% before because I was not discharging it. Now that I am discharging it twice a week it's at 94% and I get almost 5 hours of battery life.
Battery discharges Read before discharging the battery
I have tested VA-API Hardware Acceleration in Ubuntu 13.04 and it save around 2 to 4 watts of battery and save cpu usage when playing movies, I would recommend it because it has no downside.
The main motivation for VA-API (Video Acceleration API) is to enable hardware accelerated video decode/encode at various entry-points (VLD, IDCT, Motion Compensation etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). Extending XvMC was considered, but due to its original design for MPEG-2 MotionComp only, it made more sense to design an interface from scratch that can fully expose the video decode capabilities in today's GPUs.
Help full Links
for Intel GPUs (for Intel HD Graphics as well as G45 and later):
for AMD Radeon GPUs (you also need the proprietary drivers!):
By default, the MPlayer version available in the official Ubuntu repositories doesn't support VA-API, but you can use a PPA which provides custom MPlayer builds with VA-API support.
Now you need to install smplayer or vlc
Its in Option tab > Preferences, on the Video tab > General Video > Output driver set the video output driver to "vaapi":
Its in Tools > Preferences > Input & Codecs > Enable Use GPU Accelerated decoding
1 = pcie_aspm=force , 2 = i915.semaphores=1
As the test results shows it save around 0.75 to 1 watts of battery
I will try to update more test results, This update is still in beta process, i have tested only twice, please share your results also.
If you google i915.semaphores=1 & i915.semaphores=1 battery save you will find very good links
|show 9 more comments|
This is what I read in 7 Things To Do After Installing Ubuntu 13.04 (Raring Ringtail):
I have no personal experience of TLP.
PowerTOP is a Linux tool to diagnose issues with power consumption and power management.
In addition to being a diagnostic tool, PowerTOP also has an interactive mode where the user can experiment various power management settings for cases where the Linux distribution has not enabled these settings.
This udev tool enables the most aggressive power saving settings automaticly:
Jupiter for 13.04 has arrived!
protected by Community♦ Oct 23 at 15:58
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.