Skip to main content

Power saving in ubuntu


Overview

TLP is a powersaver for ubuntu just like jupiter.
 sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw smartmontools ethtool 
OR
 sudo apt-get install tp-smapi-dkms acpi-call-tools tlp tlp-rdw smartmontools ethtool

Commands:
Open a terminal and set your options according to your needs.
Here is a list of commands you can use with tlp:

start : Initialize tlp and apply settings according to the actual power
source.

bat Apply settings for battery power source.

true Same as bat (this command is called when power source changes to
battery).

ac Apply settings for ac power source.

false Same as ac (this command is called when power source changes to
ac).

usb Enable autosuspend for all usb devices, except blacklisted ones. 
 
       bayoff Turn  off  optical  drive  in drive bay (or ThinkPad UltrayBay).
The drive may be reenabled by pulling the eject lever or pushing
the media eject button on newer models.

setcharge [START_CHARGE STOP_CHARGE [BAT0|BAT1]] (ThinkPads only)
Set charge thresholds of main (BAT0) or Ultrabay (BAT1) battery
temporarily. Values must be between 1 and 100, Stop > Start + 3.
Configured thresholds are restored upon next system start. When
called without arguments, configured thresholds are set.

fullcharge [BAT0|BAT1] (ThinkPads only)
Set charge thresholds of main (BAT0) or Ultrabay (BAT1) battery
to factory preset (96/100) temporarily (causing a full charge).
Configured thresholds are restored upon next system start.

chargeonce [BAT0|BAT1] (ThinkPads only)
Charge main (BAT0) or Ultrabay (BAT1) battery to upper charge
threshold once (bypassing lower threshold). Configured thresh‐
olds are restored upon next system start.
 discharge [BAT0|BAT1] (ThinkPads only)
Force complete discharge of main (BAT0) or Ultrabay (BAT1) bat‐
tery.

recalibrate [BAT0|BAT1] (ThinkPads only)
Battery recalibration: completely discharge main (BAT0) or
Ultrabay (BAT1) battery and recharge to 100%.

stat Same as tlp-stat.

diskid Show disk ids for configuration.
 
JUPITER:
Jupiter is a power saving tool for ubuntu. Jupiter has three power savingmodes


Jupiter is a light weight power and hardware control applet for Linux. It is designed to improve battery life of a portable Linux computer by integrating with the operating system and changing parameters of the computer based on battery or powered connection.

Additionally, Jupiter provides quick access to some of the commonly needed hardware controls like screen output and resolution, WIFI, and bluetooth.

If you use Linux on a portable computer, let Jupiter take the effort out of going mobile.

Features


  • Automatically adjusts CPU mode for AC or battery
  • Automatically tunes the kernel for AC or battery
  • Automatically tunes hardware for AC or battery
  • Supports Asus Super Hybrid Engine (SHE)
  • Remembers and applies last selected configuration
  • Fast and efficient, low resource utilization
  • Easily Customizable
Maximum performance,power on demand and power saving.
It is really useful application.
You can install it following these steps:
Open a terminal and type the following commands:

 sudo add-apt-repository ppa:webupd8team/jupiter
 sudo apt-get update
 sudo apt-get install jupiter
For the cooling part I also recommend using powertop. Install it by:
sudo apt-get install powertop
Then run the app like sudo powertop and go to the last TAB that has a column (The first column actually) that says BAD or GOOD. Go to all the ones that say BAD and start pressing SPACE to improve/fix them so they help in generating less heat and less power usage.
  

Popular posts from this blog

INSTALLING MOBILE PARTNER IN LINUX

Most of you who have a Huawei USB modem (data card) might have tried to install mobile partner (dash board) in Linux. Here I will show you how to install mobile partner in Linux. First, you have to copy the folder called Linux in the data card. The files in the data card are not accessible from Linux so copy them from Windows. Now right click the file “install” in the “Linux” folder. Go to the permissions tab and select the check box beside Allow executing as a program. Now open a terminal by pressing CTRL + ALT + Tkeys. Change the working directory to the folder “Linux” by using “cd <path to folder>”. Now type ./install. If you had installed this software in your system before, you will get a prompt: "The software is exist, do you want overwrites? ([Y]/[N])", enter "y" to overwrites or "n" to exit. If you do not had installed this software in your system before, you will get a prompt: "Please input the install path[/usr/local/Mobile_Partner]:"…

How to setup a wifi-hotspot in Ubuntu: The terminal way.

Ubuntu has a "Use as hotspot" mode. But it creates a n ad-hoc network only.Wireless hotspots aren't same as ad hoc networks. Significant difference is there. In short, ad hoc networks aren't supported in most Android, Windows Phone and Blackberry devices (and may be iOS devices too) whereas AP mode Wi-Fi hotspots are.

              It is really simple and easy to setup a hotspot in Ubuntu. We use a tool called ap-hotspot. To install it open a terminal and type the following:

sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install ap-hotspot
             Next, to start the hotspot type the following in a terminal:
sudo ap-hotspot start
It asks you which adapter's internet you want to share, name of the network, password, etc. in an interactive manner. To stop the hotspot type the following n the terminal :
sudo ap-hotspot stop
To configure it type the following in the terminal :
sudo ap-hotspot configure

How to install OpenVAS 7 in Ubuntu

OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution.

This is a guide for installing OpenVAS in Ubuntu. 

STEP 1:

First we need to prepare our system for installation of OpenVAS. Open a terminal and type the following command:

sudo apt-get install build-essential bison flex cmake pkg-config libglib2.0-0 libglib2.0-dev libgnutls26 libgnutls-dev libpcap0.8 libpcap0.8-dev libgpgme11 libgpgme11-dev doxygen libuuid1 uuid-dev sqlfairy xmltoman libsqlite3-0 libsqlite3-dev libxml2-dev libxslt1.1 libxslt1-dev xsltproc libmicrohttpd-dev libldap-2.4-2 libldap2-dev

STEP 2:

Now we need to download the OpenVAS source packages from the OpenVAS website. You can download it from the the website or you can use the terminal to download the files using the following commands:  

mkdir openvas-srccd openvas-src/wget http://wald.intevation.org/frs/download.php/1638/openvas-libraries-7.0.1.tar.gzwget http://wald.inteva…