Battery performance improvement with powertop and using xidel.

For those of you, who have not heard about powertop, it is a tool to monitor the power consumption on your system. It has a tab which shows the tuneable parameters. Doing the changes suggested in those would improve the life to quite an extent. Here is the description of powertop:

PowerTOP is a tool that finds the software component(s) that makeyour computer use more power than necessary while it is idle.

So, here is something that you can do to quickly apply the changes suggested by tuneable parameters.
First, get the report in html format using

sudo powertop --html

With this you will get powertop.html and now quickly get the xidel binary from sourceforge site. Once you have got that exeute the command

xidel powertop.html   -e "css('html body div#tuning table tr td:nth-child(2)')"

This will show you all the tuneable parameters of your system 🙂


Enhanced by Zemanta

xmlwf – Is your xml document well formed?

There is a small nifty utility called xmlwf that can check your xml documents to see if they are well formed.

sudo yum install expat

Once installed, simply use :


Need more details, just check the man page 🙂

Enhanced by Zemanta

bash math

some quick links :

Enhanced by Zemanta