Linux Battery Monitor

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 22, 2009, 02:27 AM
430656 members and 297801 Topics
Latest Member: ibrozira
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Linux Battery Monitor
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Linux Battery Monitor  (Read 677 views)
javarules (m)
Linux Battery Monitor
« on: December 22, 2008, 09:51 AM »



Its funny how sometimes you “stumble” on some things. I have been thinking to myself “wont you dosomething cool to wrap up the year with?” I have quite a number of ideas but I dont seem to be able to summon up strength to start any.

But of recent, I have to re-organise my box, so I decided to just format it(I havent done that in a while). So I copied my home directory and blam! formated the box. I wanted to install a lightweight OS, so I chose a version of Ubuntu that is lightweight, comes with xfce and all that. The only problem is, it doesnt have a graphical battery monitor! After searching online for an xfce battery monitor with no success, I decided to write a shell script that prints to one of my consoles. I did that in no time, and whenever I want to check my battery status, I switch to the terminal. If I dont want to switch, I just run the shell script from the terminal. Works well for a geek, but for a user, it sucks. So I decided to give it a UI.

I have not done java for a while(I have been engrossed in scala and erlang) so I decided to do a little java(plus I just need an excuse to start Netbeans again after a long spell of VIM). So I built the UI, far far less complicated than I thought and yea, it works.

Keep your fingers crossed, you will get the source and rpm first thing 2009.

Merry XMAS and Happy New Year….see you on the other side of 8
lordbenax (m)
Re: Linux Battery Monitor
« #1 on: December 22, 2008, 05:18 PM »

You are so amazing! U mean you did all that?  Wink I give you a thumbs up
javarules (m)
Re: Linux Battery Monitor
« #2 on: December 22, 2008, 07:35 PM »

well it all sounds geeky, but its quite simple, tx anyway

if you are using linux checkout this file
/etc/acpi/battery/BAT0/state, all you need is to be able to parse this file correctly and you gat what you want

curious, wait till i post the source code

ciao
javaprince (m)
Re: Linux Battery Monitor
« #3 on: December 27, 2008, 07:11 AM »

Nice one Segun.

I know say you dey always represent.

Java Nigerian Developers JAND - www.naijadukes.net
javarules (m)
Re: Linux Battery Monitor
« #4 on: January 08, 2009, 10:04 AM »

well its finally finished. Full source code on gitorious

http://gitorious.org/projects/batterymonitor

ciao
Seun (m)
Re: Linux Battery Monitor
« #5 on: November 01, 2009, 09:36 PM »

How is your Scala?
javarules (m)
Re: Linux Battery Monitor
« #6 on: November 02, 2009, 08:34 AM »

my scala is OK, I mean I still can pull wonders if there's enough motivation!!
 Great Work guys  Help! Need Advice On What IT Field To Specialise In.  The New Ccna Curriculum  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.