You are not logged in.
Back from holiday. Still having problems with hibernating at critical level. I've tried the following commands from the commandline:
batterymon -e 'sudo pm-hibernate'
and
batterymon -c 10 -e 'sudo pm-hibernate'
and
batterymon -c '10' -e 'sudo pm-hibernate'
but everytime my system immediately hibernates.
Need some help with this.
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
Hi,
Is there any way to make the low battery notification stay there till you close it? (Instead of vanishing by itself)
Arch is to Linux as Jeet Kune Do is to martial arts.
Offline
Am I the only one who can't see the icon in the system tray?
Offline
what de are you running etc? also if you run batterymon.py with -d you will get debug output that you could post for me
Regards
Matthew
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
When I run it it says that I don't have libnotify installed and that I won't get notifications but I do have it installed.
Sorry if this is already answered but this thread is just too long...
Offline
are you using the pkgbuild version or the Svn version?
Just found a bug on the svn version (opps) the systray won't until you unplug/plug the power supply
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
@NeoXP
It's actually the first time I parse a python source but I think that line 485 should look like:
if self.power_level >= battery.charge_level and self.command:
@developers
There are two instances of "remainging" in the code. I can't find those now because I already corrected the source without saving the original :-|
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
rpj8 ~ $ batterymon -d
2009-09-16 17:58:25,975 - batterymon - DEBUG - Using /usr/share
2009-09-16 17:58:25,975 - batterymon - DEBUG - Using /usr/share
2009-09-16 17:58:26,089 - batterymon - DEBUG - Theme default validated
2009-09-16 17:58:26,089 - batterymon - DEBUG - Theme default validated
2009-09-16 17:58:26,114 - batterymon - DEBUG - self.low_level 10
2009-09-16 17:58:26,114 - batterymon - DEBUG - self.low_level 10
2009-09-16 17:58:26,132 - batterymon - DEBUG - Found 0 battery(ies)
2009-09-16 17:58:26,132 - batterymon - DEBUG - Found 0 battery(ies)
Running openbox
Offline
genisis300 could you help me please? i'm an noob. how do i get batterymon to start at boot? i put @batterymon in the DAEMONS array in rc.conf, but nothing shows up.
Offline
That won't work, batterymon is not a daemon. Put
batterymon &
into your .xinitrc
Offline
hi sorry for the delay, RL is a bit hectic at the moment,
Kremso is right Batterymon isn't a daemon so you will have to lauch it either from .xinitrc or from the openbox(if your using openbox) autostart.sh
Regards
Matthew
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
Thank you very much. I'm running openbox, I added that line to .xinitrc and it works well. Does it not work when the computer is connected to an outlet and the battery is removed?
Offline
Sorry if this was answered before, but this topic has 7 pages
- Does batterymon notifies when battery is running low?
- If yes, how much is "low" ? Do I need python-notify or can I use xfce4-notifyd for that ?
- Is there any configuration file?
Don't panic !
Offline
Does it not work when the computer is connected to an outlet and the battery is removed?
In my experience: no
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
By the way,
I'm getting these errors on the terminal:
2010-03-08 16:08:59,038 - batterymon - ERROR - org.freedesktop.Hal.NoSuchProperty: No property battery.remaining_time on device with id /org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0
Don't panic !
Offline
Hi all,
sorry for the lack of updates etc been a busy period for me, just though i would let you know that i'm in the process of sorting out all my archives etc and will be picking this project backup again very very soon.
Regards
Matthew
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
Hi,
I created something similar to batterymon, but it uses upower instead of hal. It's called: batti. See http://arthapex.wordpress.com/batti/
It's main features are:
* one tray icon per inserted battery
* tray icons (dis-)appear with the battery (un-)plugging
* notification on low, critical and charged battery status
* suspend/hibernate menu on left-click without sudo, if allowed by PolicyKit
I would love to see that packaged for Arch, but I use Gentoo and don't have the time to get involved in Arch. I also would love to get feedback on it.
@genisis300: how about merging the efforts in one project?
Offline
@arthapex:
I made a PKGBUILD for batti: http://aur.archlinux.org/packages.php?ID=36503
It seems perfect for my needs. Thanks.
Offline
@Fetid Frog:
It is me, who is thanking you!
Offline
@arthapex:
I made a PKGBUILD for batti: http://aur.archlinux.org/packages.php?ID=36503
It seems perfect for my needs. Thanks.
Nice work both of you! I like it.
Offline
Hi,
I seem to be having the same probelm as NeoXP above.
I really like batterymon, great little program except for that problem.
It seems to execute the "-e" command straight away regardless of the battery level.
It does also execute it when the critical battery is reached, but that's not much use if you want it to shutdown!
Here's a log of the notify level set to 36% and the critical set to 35%. The battery goes from 37 to 34 I think.
$ batterymon -n 36 -c 35 -e "echo test > /tmp/log" -d
2010-11-28 20:45:09,358 - batterymon - DEBUG - Using /usr/share
2010-11-28 20:45:09,358 - batterymon - DEBUG - Using /usr/share
2010-11-28 20:45:09,359 - batterymon - DEBUG - Theme default validated
2010-11-28 20:45:09,359 - batterymon - DEBUG - Theme default validated
2010-11-28 20:45:09,378 - batterymon - DEBUG - self.low_level 36
2010-11-28 20:45:09,378 - batterymon - DEBUG - self.low_level 36
2010-11-28 20:45:09,387 - batterymon - DEBUG - Found 1 battery(ies)
2010-11-28 20:45:09,387 - batterymon - DEBUG - Found 1 battery(ies)
2010-11-28 20:45:09,392 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:45:09,392 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:45:09,392 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:45:09,392 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:45:09,393 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:45:09,393 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:45:09,394 - batterymon - DEBUG - battery.percentage: 37
2010-11-28 20:45:09,394 - batterymon - DEBUG - battery.percentage: 37
2010-11-28 20:45:09,394 - batterymon - DEBUG - battery.remaining_time: 3146
2010-11-28 20:45:09,394 - batterymon - DEBUG - battery.remaining_time: 3146
2010-11-28 20:45:09,394 - batterymon - DEBUG - Minutes: 52
2010-11-28 20:45:09,394 - batterymon - DEBUG - Minutes: 52
2010-11-28 20:45:09,395 - batterymon - DEBUG - Hours: 0
2010-11-28 20:45:09,395 - batterymon - DEBUG - Hours: 0
2010-11-28 20:45:09,396 - batterymon - DEBUG - Battery Percentage 37
Time remainging: 52 Minutes
2010-11-28 20:45:09,396 - batterymon - DEBUG - Battery Percentage 37
Time remainging: 52 Minutes
2010-11-28 20:45:09,431 - batterymon - DEBUG - Icon updated
2010-11-28 20:45:09,431 - batterymon - DEBUG - Icon updated
2010-11-28 20:45:09,432 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:45:09,432 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:45:09,432 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:45:09,432 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:45:13,018 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:45:13,018 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:45:13,020 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:45:13,020 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:45:13,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:45:13,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:45:13,023 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:45:13,023 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:45:13,025 - batterymon - DEBUG - battery.percentage: 37
2010-11-28 20:45:13,025 - batterymon - DEBUG - battery.percentage: 37
2010-11-28 20:45:13,026 - batterymon - DEBUG - battery.remaining_time: 3116
2010-11-28 20:45:13,026 - batterymon - DEBUG - battery.remaining_time: 3116
2010-11-28 20:45:13,026 - batterymon - DEBUG - Minutes: 51
2010-11-28 20:45:13,026 - batterymon - DEBUG - Minutes: 51
2010-11-28 20:45:13,027 - batterymon - DEBUG - Hours: 0
2010-11-28 20:45:13,027 - batterymon - DEBUG - Hours: 0
2010-11-28 20:45:13,029 - batterymon - DEBUG - Battery Percentage 37
Time remainging: 51 Minutes
2010-11-28 20:45:13,029 - batterymon - DEBUG - Battery Percentage 37
Time remainging: 51 Minutes
2010-11-28 20:45:13,062 - batterymon - DEBUG - Icon updated
2010-11-28 20:45:13,062 - batterymon - DEBUG - Icon updated
2010-11-28 20:45:13,062 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:45:13,062 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:45:13,063 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:45:13,063 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:45:43,046 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:45:43,046 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:45:43,048 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:45:43,048 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:45:43,050 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:45:43,050 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:45:43,051 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:45:43,051 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:45:43,055 - batterymon - DEBUG - battery.percentage: 36
2010-11-28 20:45:43,055 - batterymon - DEBUG - battery.percentage: 36
2010-11-28 20:45:43,057 - batterymon - DEBUG - battery.remaining_time: 3017
2010-11-28 20:45:43,057 - batterymon - DEBUG - battery.remaining_time: 3017
2010-11-28 20:45:43,057 - batterymon - DEBUG - Minutes: 50
2010-11-28 20:45:43,057 - batterymon - DEBUG - Minutes: 50
2010-11-28 20:45:43,057 - batterymon - DEBUG - Hours: 0
2010-11-28 20:45:43,057 - batterymon - DEBUG - Hours: 0
2010-11-28 20:45:43,058 - batterymon - DEBUG - DEBUG Notification icon /usr/share/batterymon/icons/default/battery_empty.png
2010-11-28 20:45:43,058 - batterymon - DEBUG - DEBUG Notification icon /usr/share/batterymon/icons/default/battery_empty.png
2010-11-28 20:45:43,260 - batterymon - DEBUG - Notification shown
2010-11-28 20:45:43,260 - batterymon - DEBUG - Notification shown
2010-11-28 20:45:43,261 - batterymon - DEBUG - Battery Percentage 36
Time remainging: 50 Minutes
2010-11-28 20:45:43,261 - batterymon - DEBUG - Battery Percentage 36
Time remainging: 50 Minutes
2010-11-28 20:45:43,303 - batterymon - DEBUG - Icon updated
2010-11-28 20:45:43,303 - batterymon - DEBUG - Icon updated
2010-11-28 20:45:43,303 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:45:43,303 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:45:43,303 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:45:43,303 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:46:13,045 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:46:13,045 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:46:13,047 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:46:13,047 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:46:13,048 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:46:13,048 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:46:13,050 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:46:13,050 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:46:13,052 - batterymon - DEBUG - battery.percentage: 36
2010-11-28 20:46:13,052 - batterymon - DEBUG - battery.percentage: 36
2010-11-28 20:46:13,056 - batterymon - DEBUG - battery.remaining_time: 2965
2010-11-28 20:46:13,056 - batterymon - DEBUG - battery.remaining_time: 2965
2010-11-28 20:46:13,057 - batterymon - DEBUG - Minutes: 49
2010-11-28 20:46:13,057 - batterymon - DEBUG - Minutes: 49
2010-11-28 20:46:13,057 - batterymon - DEBUG - Hours: 0
2010-11-28 20:46:13,057 - batterymon - DEBUG - Hours: 0
2010-11-28 20:46:13,057 - batterymon - DEBUG - Battery Percentage 36
Time remainging: 49 Minutes
2010-11-28 20:46:13,057 - batterymon - DEBUG - Battery Percentage 36
Time remainging: 49 Minutes
2010-11-28 20:46:13,094 - batterymon - DEBUG - Icon updated
2010-11-28 20:46:13,094 - batterymon - DEBUG - Icon updated
2010-11-28 20:46:13,095 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:46:13,095 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:46:13,095 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:46:13,095 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:46:43,017 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:46:43,017 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:46:43,019 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:46:43,019 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:46:43,020 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:46:43,020 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:46:43,022 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:46:43,022 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:46:43,024 - batterymon - DEBUG - battery.percentage: 36
2010-11-28 20:46:43,024 - batterymon - DEBUG - battery.percentage: 36
2010-11-28 20:46:43,025 - batterymon - DEBUG - battery.remaining_time: 3011
2010-11-28 20:46:43,025 - batterymon - DEBUG - battery.remaining_time: 3011
2010-11-28 20:46:43,027 - batterymon - DEBUG - Minutes: 50
2010-11-28 20:46:43,027 - batterymon - DEBUG - Minutes: 50
2010-11-28 20:46:43,027 - batterymon - DEBUG - Hours: 0
2010-11-28 20:46:43,027 - batterymon - DEBUG - Hours: 0
2010-11-28 20:46:43,027 - batterymon - DEBUG - Battery Percentage 36
Time remainging: 50 Minutes
2010-11-28 20:46:43,027 - batterymon - DEBUG - Battery Percentage 36
Time remainging: 50 Minutes
2010-11-28 20:46:43,063 - batterymon - DEBUG - Icon updated
2010-11-28 20:46:43,063 - batterymon - DEBUG - Icon updated
2010-11-28 20:46:43,063 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:46:43,063 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:46:43,063 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:46:43,063 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:47:13,017 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:47:13,017 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:47:13,019 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:47:13,019 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:47:13,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:47:13,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:47:13,023 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:47:13,023 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:47:13,024 - batterymon - DEBUG - battery.percentage: 35
2010-11-28 20:47:13,024 - batterymon - DEBUG - battery.percentage: 35
2010-11-28 20:47:13,025 - batterymon - DEBUG - battery.remaining_time: 2992
2010-11-28 20:47:13,025 - batterymon - DEBUG - battery.remaining_time: 2992
2010-11-28 20:47:13,027 - batterymon - DEBUG - Minutes: 49
2010-11-28 20:47:13,027 - batterymon - DEBUG - Minutes: 49
2010-11-28 20:47:13,027 - batterymon - DEBUG - Hours: 0
2010-11-28 20:47:13,027 - batterymon - DEBUG - Hours: 0
2010-11-28 20:47:13,027 - batterymon - DEBUG - DEBUG Notification icon /usr/share/batterymon/icons/default/battery_empty.png
2010-11-28 20:47:13,027 - batterymon - DEBUG - DEBUG Notification icon /usr/share/batterymon/icons/default/battery_empty.png
2010-11-28 20:47:13,065 - batterymon - DEBUG - Notification shown
2010-11-28 20:47:13,065 - batterymon - DEBUG - Notification shown
2010-11-28 20:47:13,065 - batterymon - DEBUG - Battery Percentage 35
Time remainging: 49 Minutes
2010-11-28 20:47:13,065 - batterymon - DEBUG - Battery Percentage 35
Time remainging: 49 Minutes
2010-11-28 20:47:13,104 - batterymon - DEBUG - Icon updated
2010-11-28 20:47:13,104 - batterymon - DEBUG - Icon updated
2010-11-28 20:47:13,104 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:47:13,104 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:47:13,105 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:47:13,105 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:47:43,018 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:47:43,018 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:47:43,020 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:47:43,020 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:47:43,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:47:43,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:47:43,024 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:47:43,024 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:47:43,025 - batterymon - DEBUG - battery.percentage: 35
2010-11-28 20:47:43,025 - batterymon - DEBUG - battery.percentage: 35
2010-11-28 20:47:43,029 - batterymon - DEBUG - battery.remaining_time: 2426
2010-11-28 20:47:43,029 - batterymon - DEBUG - battery.remaining_time: 2426
2010-11-28 20:47:43,030 - batterymon - DEBUG - Minutes: 40
2010-11-28 20:47:43,030 - batterymon - DEBUG - Minutes: 40
2010-11-28 20:47:43,030 - batterymon - DEBUG - Hours: 0
2010-11-28 20:47:43,030 - batterymon - DEBUG - Hours: 0
2010-11-28 20:47:43,030 - batterymon - DEBUG - Battery Percentage 35
Time remainging: 40 Minutes
2010-11-28 20:47:43,030 - batterymon - DEBUG - Battery Percentage 35
Time remainging: 40 Minutes
2010-11-28 20:47:43,071 - batterymon - DEBUG - Icon updated
2010-11-28 20:47:43,071 - batterymon - DEBUG - Icon updated
2010-11-28 20:47:43,071 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:47:43,071 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:47:43,071 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:47:43,071 - batterymon - DEBUG - Running command 'echo test > /tmp/log'
2010-11-28 20:48:13,021 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:48:13,021 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:48:13,023 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:48:13,023 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:48:13,024 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:48:13,024 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:48:13,027 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:48:13,027 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:48:13,030 - batterymon - DEBUG - battery.percentage: 34
2010-11-28 20:48:13,030 - batterymon - DEBUG - battery.percentage: 34
2010-11-28 20:48:13,032 - batterymon - DEBUG - battery.remaining_time: 2659
2010-11-28 20:48:13,032 - batterymon - DEBUG - battery.remaining_time: 2659
2010-11-28 20:48:13,033 - batterymon - DEBUG - Minutes: 44
2010-11-28 20:48:13,033 - batterymon - DEBUG - Minutes: 44
2010-11-28 20:48:13,033 - batterymon - DEBUG - Hours: 0
2010-11-28 20:48:13,033 - batterymon - DEBUG - Hours: 0
2010-11-28 20:48:13,034 - batterymon - DEBUG - Battery Percentage 34
Time remainging: 44 Minutes
2010-11-28 20:48:13,034 - batterymon - DEBUG - Battery Percentage 34
Time remainging: 44 Minutes
2010-11-28 20:48:13,067 - batterymon - DEBUG - Icon updated
2010-11-28 20:48:13,067 - batterymon - DEBUG - Icon updated
2010-11-28 20:48:13,068 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:48:13,068 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:48:43,031 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:48:43,031 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:48:43,033 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:48:43,033 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:48:43,034 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:48:43,034 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:48:43,036 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:48:43,036 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:48:43,039 - batterymon - DEBUG - battery.percentage: 34
2010-11-28 20:48:43,039 - batterymon - DEBUG - battery.percentage: 34
2010-11-28 20:48:43,040 - batterymon - DEBUG - battery.remaining_time: 2640
2010-11-28 20:48:43,040 - batterymon - DEBUG - battery.remaining_time: 2640
2010-11-28 20:48:43,041 - batterymon - DEBUG - Minutes: 44
2010-11-28 20:48:43,041 - batterymon - DEBUG - Minutes: 44
2010-11-28 20:48:43,041 - batterymon - DEBUG - Hours: 0
2010-11-28 20:48:43,041 - batterymon - DEBUG - Hours: 0
2010-11-28 20:48:43,041 - batterymon - DEBUG - Battery Percentage 34
Time remainging: 44 Minutes
2010-11-28 20:48:43,041 - batterymon - DEBUG - Battery Percentage 34
Time remainging: 44 Minutes
2010-11-28 20:48:43,079 - batterymon - DEBUG - Icon updated
2010-11-28 20:48:43,079 - batterymon - DEBUG - Icon updated
2010-11-28 20:48:43,079 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:48:43,079 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:49:13,015 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:49:13,015 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:49:13,017 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:49:13,017 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:49:13,018 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:49:13,018 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:49:13,021 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:49:13,021 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:49:13,023 - batterymon - DEBUG - battery.percentage: 34
2010-11-28 20:49:13,023 - batterymon - DEBUG - battery.percentage: 34
2010-11-28 20:49:13,025 - batterymon - DEBUG - battery.remaining_time: 2589
2010-11-28 20:49:13,025 - batterymon - DEBUG - battery.remaining_time: 2589
2010-11-28 20:49:13,026 - batterymon - DEBUG - Minutes: 43
2010-11-28 20:49:13,026 - batterymon - DEBUG - Minutes: 43
2010-11-28 20:49:13,026 - batterymon - DEBUG - Hours: 0
2010-11-28 20:49:13,026 - batterymon - DEBUG - Hours: 0
2010-11-28 20:49:13,026 - batterymon - DEBUG - Battery Percentage 34
Time remainging: 43 Minutes
2010-11-28 20:49:13,026 - batterymon - DEBUG - Battery Percentage 34
Time remainging: 43 Minutes
2010-11-28 20:49:13,059 - batterymon - DEBUG - Icon updated
2010-11-28 20:49:13,059 - batterymon - DEBUG - Icon updated
2010-11-28 20:49:13,059 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:49:13,059 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:49:43,029 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:49:43,029 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:49:43,030 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:49:43,030 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:49:43,032 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:49:43,032 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:49:43,034 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:49:43,034 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:49:43,036 - batterymon - DEBUG - battery.percentage: 33
2010-11-28 20:49:43,036 - batterymon - DEBUG - battery.percentage: 33
2010-11-28 20:49:43,037 - batterymon - DEBUG - battery.remaining_time: 2643
2010-11-28 20:49:43,037 - batterymon - DEBUG - battery.remaining_time: 2643
2010-11-28 20:49:43,037 - batterymon - DEBUG - Minutes: 44
2010-11-28 20:49:43,037 - batterymon - DEBUG - Minutes: 44
2010-11-28 20:49:43,038 - batterymon - DEBUG - Hours: 0
2010-11-28 20:49:43,038 - batterymon - DEBUG - Hours: 0
2010-11-28 20:49:43,038 - batterymon - DEBUG - Battery Percentage 33
Time remainging: 44 Minutes
2010-11-28 20:49:43,038 - batterymon - DEBUG - Battery Percentage 33
Time remainging: 44 Minutes
2010-11-28 20:49:43,078 - batterymon - DEBUG - Icon updated
2010-11-28 20:49:43,078 - batterymon - DEBUG - Icon updated
2010-11-28 20:49:43,078 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:49:43,078 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:50:13,041 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:50:13,041 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:50:13,042 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:50:13,042 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:50:13,043 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:50:13,043 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:50:13,043 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:50:13,043 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:50:13,044 - batterymon - DEBUG - battery.percentage: 33
2010-11-28 20:50:13,044 - batterymon - DEBUG - battery.percentage: 33
2010-11-28 20:50:13,045 - batterymon - DEBUG - battery.remaining_time: 2622
2010-11-28 20:50:13,045 - batterymon - DEBUG - battery.remaining_time: 2622
2010-11-28 20:50:13,045 - batterymon - DEBUG - Minutes: 43
2010-11-28 20:50:13,045 - batterymon - DEBUG - Minutes: 43
2010-11-28 20:50:13,045 - batterymon - DEBUG - Hours: 0
2010-11-28 20:50:13,045 - batterymon - DEBUG - Hours: 0
2010-11-28 20:50:13,046 - batterymon - DEBUG - Battery Percentage 33
Time remainging: 43 Minutes
2010-11-28 20:50:13,046 - batterymon - DEBUG - Battery Percentage 33
Time remainging: 43 Minutes
2010-11-28 20:50:13,127 - batterymon - DEBUG - Icon updated
2010-11-28 20:50:13,127 - batterymon - DEBUG - Icon updated
2010-11-28 20:50:13,127 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:50:13,127 - batterymon - DEBUG - Icon Name: 2
2010-11-28 20:50:43,017 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:50:43,017 - batterymon - DEBUG - Battery property battery.remaining_time modified
2010-11-28 20:50:43,020 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:50:43,020 - batterymon - DEBUG - battery.present: 1
2010-11-28 20:50:43,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:50:43,021 - batterymon - DEBUG - battery.is_charging: 0
2010-11-28 20:50:43,023 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:50:43,023 - batterymon - DEBUG - battery.is_discharging: 1
2010-11-28 20:50:43,025 - batterymon - DEBUG - battery.percentage: 32
2010-11-28 20:50:43,025 - batterymon - DEBUG - battery.percentage: 32
2010-11-28 20:50:43,028 - batterymon - DEBUG - battery.remaining_time: 2528
2010-11-28 20:50:43,028 - batterymon - DEBUG - battery.remaining_time: 2528
2010-11-28 20:50:43,029 - batterymon - DEBUG - Minutes: 42
2010-11-28 20:50:43,029 - batterymon - DEBUG - Minutes: 42
2010-11-28 20:50:43,029 - batterymon - DEBUG - Hours: 0
2010-11-28 20:50:43,029 - batterymon - DEBUG - Hours: 0
2010-11-28 20:50:43,030 - batterymon - DEBUG - Battery Percentage 32
Time remainging: 42 Minutes
2010-11-28 20:50:43,030 - batterymon - DEBUG - Battery Percentage 32
Time remainging: 42 Minutes
2010-11-28 20:50:43,127 - batterymon - DEBUG - Icon updated
2010-11-28 20:50:43,127 - batterymon - DEBUG - Icon updated
2010-11-28 20:50:43,127 - batterymon - DEBUG - Icon Name: 1
2010-11-28 20:50:43,127 - batterymon - DEBUG - Icon Name: 1
^CTraceback (most recent call last):
File "/usr/bin/batterymon", line 525, in <module>
gtk.main()
KeyboardInterrupt
Could it be because I'm using the new python?
$ python -V
Python 3.1.2
I had to run the following to get it working in the first place so maybe that has messed something up?
sudo sed -i "$pkgdir/usr/share/batterymon/batterymon.py" -e '1d' -e '2i#!/usr/bin/env python2.7'
Thanks.
Edit: goran'agar's suggestion above fixed the issue, thanks! I submitted a bug report.
Last edited by dioltas (2010-11-28 21:58:37)
Offline