Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Wednesday, May 29, 2013

Battery Test (Script For Linux)


From the day I bought my latest Notebook I wanted to test how much time it can stay On on battery.
So I created a ruby script for linux (tested on ubuntu). 

Tuesday, May 28, 2013

CPU Fan Control For Dell 3521


Dell Inspiron 3521 has latest ivy bridge CPU and switchable graphics.
Unfortunately when I installed Ubuntu 13.04, Ati Graphics Card was always On as a result, temperatures were high and fan was spinning like crazy.

I had to do something. First I turned off VGA. Temperatures were lower then but fan speed was still high. So i created a script in Ruby ( The latest Language I added to my knowledge ) that moderates CPU fan based on CPU temperature. Maybe someone may need this so I'll provide instructions and the script bellow.