You are not logged in.

#51 2009-04-14 09:18:49

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Anyone? smile

Offline

#52 2009-04-14 19:56:09

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

it's a custom theme that i packaged with the program
if you look under /usr/share/batterymon/ you can see the themes
although with the new release that is coming out in asap i will include some info on the theme format so you can make custom themes.

i hope that helps
Matthew


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#53 2009-04-14 21:55:33

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

genisis300 wrote:

it's a custom theme that i packaged with the program
if you look under /usr/share/batterymon/ you can see the themes
although with the new release that is coming out in asap i will include some info on the theme format so you can make custom themes.

i hope that helps
Matthew

Thanks smile
Found out I had downloaded it incorrectly >_>
Downloading throught yaourt fixed it smile

Last edited by Eax (2009-04-14 22:19:09)

Offline

#54 2009-04-15 10:35:26

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

I have this curious little problem that even though it displays my Batterystatus as Full, it's only 86% charged Oo
Is it a bug or have my battery detoriated?

Offline

#55 2009-04-15 12:35:03

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

yes beacuse the current version uses full_power_design.

i will be relasing a new version shortly that should solve that problem. just need to find some time to do some finishing touches.


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#56 2009-04-15 12:46:14

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Great smile

I know the time thing >_<

Offline

#57 2009-04-16 14:31:14

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Ok, I'm gonna wait for this, especially for that energy_full_design and ac adapter (without bat being connected) fix, then I'll try out.
Great work genisis300. Awesome is going to look awesome with your notifier.

regards,


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#58 2009-04-17 15:01:24

problemkenner
Member
Registered: 2009-02-17
Posts: 69

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Sorry for that stupid question but how do I use this nice program?

I tried do start it after installing it from aur with batterymon as normal user but there's only this output:

[problemkenner@ma3schine]$ batterymon
One battery found
Traceback (most recent call last):
  File "/usr/bin/batterymon", line 244, in <module>
    tempBATnumber = options.checkbatterys()  ## set default battery number
  File "/usr/bin/batterymon", line 217, in checkbatterys
    return str(test[0])
IndexError: list index out of range

And could batterymon be also started at startup?

Offline

#59 2009-04-17 17:38:18

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

problemkenner wrote:

Sorry for that stupid question but how do I use this nice program?

I tried do start it after installing it from aur with batterymon as normal user but there's only this output:

...

And could batterymon be also started at startup?

I get exactly the same output, so if anyone could point us in the right direction???

Autostarting depends on your WM/DE. In openbox it is done by modifying ~/.config/openbox/autostart.sh.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#60 2009-04-18 00:34:01

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Hey there smile Awesome work on the monitor ^_^

Seeing the default theme didn't fit into my current theme I just wrapped up something quick in gimp for everyone to use smile
I know it's rather "crappy" but it should work, (I guess)

It's a very simple white battery theme.

Anyway here's the download:
http://eax.dk/simple_white_by_eax.tar.bz2

Looks best on dark themes smile

Also: C&C is more than welcome smile

Updated again (again): Icons should be more pretty now, sorry if they suck I'm new at gimp tongue But I think I'm improving smile
One problem though, the icons seem to become more "blurry" when it has been running for some mins, any idea what would cause this?

Also: Here's the images of them(Sorry for the big pictures):

Battery when on "Low"
battery_1.png

Full battery:
battery_full.png

When charging:
battery_power.png

Last edited by Eax (2009-04-18 14:56:04)

Offline

#61 2009-04-19 16:44:13

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Anyone?

Offline

#62 2009-04-19 17:04:22

froli
Member
From: Montreal, Canada
Registered: 2008-06-17
Posts: 440
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Thanks for your theme Eax smile Using it right now!


arch64 | I'm using Yaourt smile  | Kik Messenger: froli | Follow me on Twitter!
Intel Core 2 Quad Q8300 2.5Ghz, 6GB RAM DDR2, 1TB HDD, EVGA GTS 450, Gnome3.

Offline

#63 2009-04-19 17:25:49

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

froli: You are more than welcome smile I'm just happy that someone wants to use it ^_^
Just write me if you find any errors smile

Offline

#64 2009-04-19 17:30:47

froli
Member
From: Montreal, Canada
Registered: 2008-06-17
Posts: 440
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Eax wrote:

froli: You are more than welcome smile I'm just happy that someone wants to use it ^_^
Just write me if you find any errors smile

At this time, there's no errors at all! wink


arch64 | I'm using Yaourt smile  | Kik Messenger: froli | Follow me on Twitter!
Intel Core 2 Quad Q8300 2.5Ghz, 6GB RAM DDR2, 1TB HDD, EVGA GTS 450, Gnome3.

Offline

#65 2009-04-19 17:52:07

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

When I try to start batterymon from the commandline, I get the next output:

enne@persephone [~/]
>>> batterymon
One battery found
Traceback (most recent call last):
  File "/usr/bin/batterymon", line 244, in <module>
    tempBATnumber = options.checkbatterys()  ## set default battery number
  File "/usr/bin/batterymon", line 217, in checkbatterys
    return str(test[0])
IndexError: list index out of range

Can someone explain to me how to use this program????


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#66 2009-04-19 18:36:30

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

froli wrote:

At this time, there's no errors at all! wink

Great smile

Offline

#67 2009-04-21 01:17:33

shrd
Member
Registered: 2008-01-23
Posts: 22

Re: Batterymon -- a simple battery monitor ideal for openbox etc

nice program, i use it on fluxbox with an asus eee 701
it is charge_full and not charge_full_design to make it work nice with an eee 701
nice work !
is there a way to notify the program when AC is plugged or unplugged to change icon just after

Offline

#68 2009-04-21 08:52:27

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

shrd wrote:

nice program, i use it on fluxbox with an asus eee 701
it is charge_full and not charge_full_design to make it work nice with an eee 701
nice work !
is there a way to notify the program when AC is plugged or unplugged to change icon just after

Try running with "-i " and then the milisecons between each update smile

Otherwise take a look at:

batterymon --help

Offline

#69 2009-04-21 16:04:39

problemkenner
Member
Registered: 2009-02-17
Posts: 69

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Anyone who has any idea relating to NeoXP and my problem?

Offline

#70 2009-04-21 18:03:35

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Little bit strange indeed, that everyone in this thread is excited about the app. But nobody can inform us how to use it.:(:(


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#71 2009-04-21 19:01:48

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: Batterymon -- a simple battery monitor ideal for openbox etc

NeoXP wrote:

When I try to start batterymon from the commandline, I get the next output [...]

What does 'ls /sys/class/power_supply/ | grep BAT' give you?

Offline

#72 2009-04-21 19:08:11

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: Batterymon -- a simple battery monitor ideal for openbox etc

@Eax, please resize the images in #p538026.

Offline

#73 2009-04-21 19:26:49

problemkenner
Member
Registered: 2009-02-17
Posts: 69

Re: Batterymon -- a simple battery monitor ideal for openbox etc

For me it outputs nothing. This directory contains only the files C239 and C23B. So obviously my battery isn't named BAT *. How do I have to change the script to get it work?

Offline

#74 2009-04-21 19:58:42

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: Batterymon -- a simple battery monitor ideal for openbox etc

problemkenner wrote:

For me it outputs nothing. This directory contains only the files C239 and C23B. So obviously my battery isn't named BAT *. How do I have to change the script to get it work?

It depends on the contents of those folders. But you could try putting either of them 'batterymon -b <here>' and see if that's the way to go.

What's the output of 'find /sys -not -type f -name BAT*'?

Last edited by Lars Stokholm (2009-04-21 20:00:23)

Offline

#75 2009-04-21 20:31:57

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

In my /sys/class/power_supply there are two directories C1E8 and C1E9.

Structure of directory C1E8 is:

enne@persephone [/sys/class/power_supply/C1E8/]
>>> ls -a
.  ..  device  online  power  subsystem  type  uevent

structure of directory C1E9 is:

enne@persephone [/sys/class/power_supply/C1E9/]
>>> ls -a
.      charge_full         current_now   model_name  serial_number  technology  voltage_min_design
..     charge_full_design  device        power       status         type        voltage_now
alarm  charge_now          manufacturer  present     subsystem      uevent

batterymon -b C1E8 gives:

enne@persephone [~/]
>>> batterymon -b C1E8
One battery found
Traceback (most recent call last):
  File "/usr/bin/batterymon", line 248, in <module>
    tempBATnumber = options.checkbatterys()
  File "/usr/bin/batterymon", line 217, in checkbatterys
    return str(test[0])
IndexError: list index out of range

batterymon -b C1E9 gives:

enne@persephone [~/]
>>> batterymon -b C1E9
One battery found
Traceback (most recent call last):
  File "/usr/bin/batterymon", line 248, in <module>
    tempBATnumber = options.checkbatterys()
  File "/usr/bin/batterymon", line 217, in checkbatterys
    return str(test[0])
IndexError: list index out of range

In conky I have ${battery C1E9} which shows if the battery is on AC or charging/discharging with the percentage left. So I think C1E9 is my battery.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

Board footer

Powered by FluxBB