My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 19, 2009
    issue 9 (Exception on missing battery) commented on by Spook...@gmail.com   -   batterymon works here without any battery but there is no icon in the tray.
    batterymon works here without any battery but there is no icon in the tray.
  • Dec 13, 2009
    issue 9 (Exception on missing battery) reported by brot.kann.man.nicht.einfrieren   -   What steps will reproduce the problem? 1. remove a battery 2. start batterymon What is the expected output? What do you see instead? batterymon should start up, but fails with an exception. What version of the product are you using? On what operating system? 1.2.0 on Gentoo Linux Please provide any additional information below. My laptop shows two battery slots to the kernel. There is only one physical one however, so the second slot is always empty. I'm happy if I can ignore it. This should clarify what my setup is like: $cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: discharging present rate: 1356 mA remaining capacity: 907 mAh present voltage: 16161 mV $cat /proc/acpi/battery/BAT1/state present: no It seems that batterymon tries to get the charging state of the missing battery and fails at this: $batterymon --debug You do not seem to have libnotify installed. Notifications won't work. 2009-12-13 18:02:44,563 - batterymon - DEBUG - Using /usr/share 2009-12-13 18:02:44,563 - batterymon - DEBUG - Using /usr/share 2009-12-13 18:02:44,564 - batterymon - DEBUG - Theme default validated 2009-12-13 18:02:44,564 - batterymon - DEBUG - Theme default validated 2009-12-13 18:02:44,608 - batterymon - DEBUG - self.low_level 10 2009-12-13 18:02:44,608 - batterymon - DEBUG - self.low_level 10 2009-12-13 18:02:44,616 - batterymon - DEBUG - Found 2 battery(ies) 2009-12-13 18:02:44,616 - batterymon - DEBUG - Found 2 battery(ies) 2009-12-13 18:02:44,622 - batterymon - DEBUG - battery.present: 0 2009-12-13 18:02:44,622 - batterymon - DEBUG - battery.present: 0 Traceback (most recent call last): File "/usr/bin/batterymon", line 528, in <module> pm.update() File "/usr/bin/batterymon", line 446, in update battery.update() File "/usr/bin/batterymon", line 127, in update is_charging = self.__battery.GetProperty ('battery.rechargeable.is_charging') File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Hal.NoSuchProperty: No property battery.rechargeable.is_charging on device with id /org/ freedesktop/Hal/devices/computer_power_supply_battery_BAT1 I think there should be some check around line 125, so batterymon does not try to query non-present batteries.
    What steps will reproduce the problem? 1. remove a battery 2. start batterymon What is the expected output? What do you see instead? batterymon should start up, but fails with an exception. What version of the product are you using? On what operating system? 1.2.0 on Gentoo Linux Please provide any additional information below. My laptop shows two battery slots to the kernel. There is only one physical one however, so the second slot is always empty. I'm happy if I can ignore it. This should clarify what my setup is like: $cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: discharging present rate: 1356 mA remaining capacity: 907 mAh present voltage: 16161 mV $cat /proc/acpi/battery/BAT1/state present: no It seems that batterymon tries to get the charging state of the missing battery and fails at this: $batterymon --debug You do not seem to have libnotify installed. Notifications won't work. 2009-12-13 18:02:44,563 - batterymon - DEBUG - Using /usr/share 2009-12-13 18:02:44,563 - batterymon - DEBUG - Using /usr/share 2009-12-13 18:02:44,564 - batterymon - DEBUG - Theme default validated 2009-12-13 18:02:44,564 - batterymon - DEBUG - Theme default validated 2009-12-13 18:02:44,608 - batterymon - DEBUG - self.low_level 10 2009-12-13 18:02:44,608 - batterymon - DEBUG - self.low_level 10 2009-12-13 18:02:44,616 - batterymon - DEBUG - Found 2 battery(ies) 2009-12-13 18:02:44,616 - batterymon - DEBUG - Found 2 battery(ies) 2009-12-13 18:02:44,622 - batterymon - DEBUG - battery.present: 0 2009-12-13 18:02:44,622 - batterymon - DEBUG - battery.present: 0 Traceback (most recent call last): File "/usr/bin/batterymon", line 528, in <module> pm.update() File "/usr/bin/batterymon", line 446, in update battery.update() File "/usr/bin/batterymon", line 127, in update is_charging = self.__battery.GetProperty ('battery.rechargeable.is_charging') File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Hal.NoSuchProperty: No property battery.rechargeable.is_charging on device with id /org/ freedesktop/Hal/devices/computer_power_supply_battery_BAT1 I think there should be some check around line 125, so batterymon does not try to query non-present batteries.
  • Dec 12, 2009
    issue 8 (Exception: No AC adapter found) reported by Dankles   -   What steps will reproduce the problem? 1. executed "batterymon" as normal user and root user and i still get the same problem What is the expected output? What do you see instead? [root@mercury ~]# batterymon --debug 2009-12-12 21:33:47,590 - batterymon - DEBUG - Using /usr/share 2009-12-12 21:33:47,590 - batterymon - DEBUG - Using /usr/share 2009-12-12 21:33:47,590 - batterymon - DEBUG - Theme default validated 2009-12-12 21:33:47,590 - batterymon - DEBUG - Theme default validated 2009-12-12 21:33:47,601 - batterymon - DEBUG - self.low_level 10 2009-12-12 21:33:47,601 - batterymon - DEBUG - self.low_level 10 Traceback (most recent call last): File "/usr/bin/batterymon", line 518, in <module> pm = PowerManager() File "/usr/bin/batterymon", line 423, in __init__ self.adapter = AcAdapter() File "/usr/bin/batterymon", line 52, in __init__ raise Exception("No AC adapter found") Exception: No AC adapter found What version of the product are you using? On what operating system? version 1.2.0 on ARCH Linux Please provide any additional information below. This program worked for the first few days i was using it then suddenly stoped and i'm not sure why. Maybe due to a recent system upgrade? Here is a recent log of pacman: [2009-12-12 00:48] synchronizing package lists [2009-12-12 00:48] starting full system upgrade [2009-12-12 00:49] installed pcmanfm (0.5.2-1) [2009-12-12 12:10] synchronizing package lists [2009-12-12 12:10] starting full system upgrade [2009-12-12 12:14] upgraded gtk2 (2.18.4-1 -> 2.18.5-1) [2009-12-12 12:14] upgraded flashplugin (10.0.32.18-1 -> 10.0.42.34-1) [2009-12-12 12:14] upgraded libldap (2.4.19-1 -> 2.4.20-1) [2009-12-12 12:14] upgraded nano (2.0.9-2 -> 2.2.0-1) [2009-12-12 12:14] upgraded sqlite3 (3.6.20-1 -> 3.6.21-1) though these packages dont strike me as something that would break it.
    What steps will reproduce the problem? 1. executed "batterymon" as normal user and root user and i still get the same problem What is the expected output? What do you see instead? [root@mercury ~]# batterymon --debug 2009-12-12 21:33:47,590 - batterymon - DEBUG - Using /usr/share 2009-12-12 21:33:47,590 - batterymon - DEBUG - Using /usr/share 2009-12-12 21:33:47,590 - batterymon - DEBUG - Theme default validated 2009-12-12 21:33:47,590 - batterymon - DEBUG - Theme default validated 2009-12-12 21:33:47,601 - batterymon - DEBUG - self.low_level 10 2009-12-12 21:33:47,601 - batterymon - DEBUG - self.low_level 10 Traceback (most recent call last): File "/usr/bin/batterymon", line 518, in <module> pm = PowerManager() File "/usr/bin/batterymon", line 423, in __init__ self.adapter = AcAdapter() File "/usr/bin/batterymon", line 52, in __init__ raise Exception("No AC adapter found") Exception: No AC adapter found What version of the product are you using? On what operating system? version 1.2.0 on ARCH Linux Please provide any additional information below. This program worked for the first few days i was using it then suddenly stoped and i'm not sure why. Maybe due to a recent system upgrade? Here is a recent log of pacman: [2009-12-12 00:48] synchronizing package lists [2009-12-12 00:48] starting full system upgrade [2009-12-12 00:49] installed pcmanfm (0.5.2-1) [2009-12-12 12:10] synchronizing package lists [2009-12-12 12:10] starting full system upgrade [2009-12-12 12:14] upgraded gtk2 (2.18.4-1 -> 2.18.5-1) [2009-12-12 12:14] upgraded flashplugin (10.0.32.18-1 -> 10.0.42.34-1) [2009-12-12 12:14] upgraded libldap (2.4.19-1 -> 2.4.20-1) [2009-12-12 12:14] upgraded nano (2.0.9-2 -> 2.2.0-1) [2009-12-12 12:14] upgraded sqlite3 (3.6.20-1 -> 3.6.21-1) though these packages dont strike me as something that would break it.
  • Dec 12, 2009
    issue 7 (Add __init__.py and Improve importing) reported by Spook...@gmail.com   -   What steps will reproduce the problem? 1. install batterymon modules into /<python-sitedir>/batterymon 2. run batterymon 3. import error What is the expected output? What do you see instead? batterymon should import from ./ and if it fails from <python-sitedir>/batterymon. What version of the product are you using? On what operating system? 1.2.0 Please provide any additional information below. Therefor please add an __init__.py file.
    What steps will reproduce the problem? 1. install batterymon modules into /<python-sitedir>/batterymon 2. run batterymon 3. import error What is the expected output? What do you see instead? batterymon should import from ./ and if it fails from <python-sitedir>/batterymon. What version of the product are you using? On what operating system? 1.2.0 Please provide any additional information below. Therefor please add an __init__.py file.

Earlier this year

  • Sep 16, 2009
    issue 6 (Internationalization?) Status changed by matthew.horsell   -  
    Status: Accepted
    Status: Accepted
  • Sep 16, 2009
    issue 3 (dependency on hal) Status changed by matthew.horsell   -  
    Status: WontFix
    Status: WontFix
  • Sep 16, 2009
    issue 6 (Internationalization?) commented on by matthew.horsell   -   I'm looking into this. I'm in the process of a big update so i might make this apart of that. Regards Matthew
    I'm looking into this. I'm in the process of a big update so i might make this apart of that. Regards Matthew
  • Sep 10, 2009
    issue 6 (Internationalization?) reported by guillaume.brunerie   -   batterymon is currently only available in English. Moreover, the strings are hard-coded into the source code, so localisation isn't possible yet. Could you separate the source code and the string, in order to allow internationalization?
    batterymon is currently only available in English. Moreover, the strings are hard-coded into the source code, so localisation isn't possible yet. Could you separate the source code and the string, in order to allow internationalization?
  • Aug 27, 2009
    issue 5 (New icon theme) commented on by denilsonsa   -   Thanks! By the way, I blogged about batterymon: http://my.opera.com/CrazyTerabyte/blog/2009/08/20/i-have-suspend-hibernate-and-also- a-battery-monitor
    Thanks! By the way, I blogged about batterymon: http://my.opera.com/CrazyTerabyte/blog/2009/08/20/i-have-suspend-hibernate-and-also- a-battery-monitor
  • Aug 26, 2009
    issue 5 (New icon theme) commented on by matthew.horsell   -   sounds like a good idea. I'm still working on the code for the notification icon but will be uploading the fixes later today. Thanks Matthew
    sounds like a good idea. I'm still working on the code for the notification icon but will be uploading the fixes later today. Thanks Matthew
  • Aug 26, 2009
    issue 5 (New icon theme) commented on by denilsonsa   -   Yeah, it might be a good idea to change the black text to white (at the icons), because people with dark backgrounds might not be able to read the black text. Maybe also change that little AC plug from black to white too. The battery image itself don't need any change. So, the idea is to have two versions: one for light backgrounds (the one I sent you) and another for dark backgrounds.
    Yeah, it might be a good idea to change the black text to white (at the icons), because people with dark backgrounds might not be able to read the black text. Maybe also change that little AC plug from black to white too. The battery image itself don't need any change. So, the idea is to have two versions: one for light backgrounds (the one I sent you) and another for dark backgrounds.
  • Aug 26, 2009
    issue 5 (New icon theme) commented on by matthew.horsell   -   do you mean change the black text to white? Regards Matthew
    do you mean change the black text to white? Regards Matthew
  • Aug 26, 2009
    r113 (fixed bug that caused systray __init__ to run twice. duplic...) committed by matthew.horsell   -   fixed bug that caused systray __init__ to run twice. duplicating debug output and all other events
    fixed bug that caused systray __init__ to run twice. duplicating debug output and all other events
  • Aug 26, 2009
    issue 5 (New icon theme) changed by matthew.horsell   -  
    Status: Started
    Owner: matthew.horsell
    Status: Started
    Owner: matthew.horsell
  • Aug 25, 2009
    r112 (initial Feature Notification Icon updates with status of bat...) committed by matthew.horsell   -   initial Feature Notification Icon updates with status of battery
    initial Feature Notification Icon updates with status of battery
  • Aug 23, 2009
    issue 5 (New icon theme) commented on by denilsonsa   -   Also, little suggestion: maybe it should be good to make two versions of this new theme, one for dark backgrounds and another for light backgrounds. Only the bottom half of the images should change, replacing the black and dark shades by white.
    Also, little suggestion: maybe it should be good to make two versions of this new theme, one for dark backgrounds and another for light backgrounds. Only the bottom half of the images should change, replacing the black and dark shades by white.
  • Aug 23, 2009
    issue 5 (New icon theme) Labels changed by matthew.horsell   -   Thanks, I will fix the issue with the 0% icons etc. I will also include the theme with the next package release. Regards Matthew
    Labels: Type-Enhancement Type-Defect
    Thanks, I will fix the issue with the 0% icons etc. I will also include the theme with the next package release. Regards Matthew
    Labels: Type-Enhancement Type-Defect
  • Aug 20, 2009
    issue 5 (New icon theme) reported by denilsonsa   -   Since I didn't like the two icon thems included with batterymon, I've drawn my own iconset. Features: * Optimized for 16x16 pixels * Clear, very readable battery meter It includes a percentage value below the icon (when not connected to AC). This value is the minimum % required to show that icon (values extracted directly from batterymon sources). It's just a simple display of at least how much charge is left. Known issue: When connecting to AC, the 0% icon is shown at libnotify popup. When disconnecting from AC, the 100% battery icon is shown. The expected icons should be those related to the actual charge level. Attached: A tarball containing the source Inkscape SVG file, and the intermediate Gimp XCF image, as well as the 15 final *.png images. Feel free to rename this theme to "default", or "16x16", or something like that.
    Since I didn't like the two icon thems included with batterymon, I've drawn my own iconset. Features: * Optimized for 16x16 pixels * Clear, very readable battery meter It includes a percentage value below the icon (when not connected to AC). This value is the minimum % required to show that icon (values extracted directly from batterymon sources). It's just a simple display of at least how much charge is left. Known issue: When connecting to AC, the 0% icon is shown at libnotify popup. When disconnecting from AC, the 100% battery icon is shown. The expected icons should be those related to the actual charge level. Attached: A tarball containing the source Inkscape SVG file, and the intermediate Gimp XCF image, as well as the 15 final *.png images. Feel free to rename this theme to "default", or "16x16", or something like that.
  • Aug 18, 2009
    r111 (fixed tooltip typo) committed by matthew.horsell   -   fixed tooltip typo
    fixed tooltip typo
  • Aug 13, 2009
    issue 4 (syntax error on settings.py) changed by matthew.horsell   -  
    Status: Started
    Owner: matthew.horsell
    Labels: Priority-High Priority-Medium
    Status: Started
    Owner: matthew.horsell
    Labels: Priority-High Priority-Medium
  • Jul 16, 2009
    issue 4 (syntax error on settings.py) reported by sishkebab   -   What steps will reproduce the problem? Try to run batterymon.py using python 2.5 What is the expected output? What do you see instead? python returns a syntax error in line 31 of settings.py What version of the product are you using? On what operating system? batterymon 1.2.0 @ Slackware 12.2 Please provide any additional information below. The import of the "with" statement is missing from settings.py. The issue is resolved if the following line is added on settings.py: from __future__ import with_statement
    What steps will reproduce the problem? Try to run batterymon.py using python 2.5 What is the expected output? What do you see instead? python returns a syntax error in line 31 of settings.py What version of the product are you using? On what operating system? batterymon 1.2.0 @ Slackware 12.2 Please provide any additional information below. The import of the "with" statement is missing from settings.py. The issue is resolved if the following line is added on settings.py: from __future__ import with_statement
  • Jul 08, 2009
    issue 3 (dependency on hal) reported by fvincken   -   In the spirit of being lightweight IMHO hald support should be optional, falling back on reading /proc if possible.
    In the spirit of being lightweight IMHO hald support should be optional, falling back on reading /proc if possible.
  • May 31, 2009
    r110 (Added crude support for cmdline option -l (list all themes)) committed by matthew.horsell   -   Added crude support for cmdline option -l (list all themes)
    Added crude support for cmdline option -l (list all themes)
  • May 14, 2009
    r109 (applied Rodrigo Javier pythin 2.5 patch) committed by matthew.horsell   -   applied Rodrigo Javier pythin 2.5 patch
    applied Rodrigo Javier pythin 2.5 patch
  • May 06, 2009
    r108 (run command now working as planned :) ) committed by matthew.horsell   -   run command now working as planned :)
    run command now working as planned :)
  • May 06, 2009
    r107 (Fixed run command option if -c was set to 5 then the command...) committed by matthew.horsell   -   Fixed run command option if -c was set to 5 then the command would run at 6 7 % also learnt that the -e option must be enclosed with quations if you try something like sudo pm-hibernate
    Fixed run command option if -c was set to 5 then the command would run at 6 7 % also learnt that the -e option must be enclosed with quations if you try something like sudo pm-hibernate
  • May 05, 2009
    r106 (Fixed tooltip typos. Now also displays On Ac in tooltip when...) committed by matthew.horsell   -   Fixed tooltip typos. Now also displays On Ac in tooltip when connected to AC adaptor
    Fixed tooltip typos. Now also displays On Ac in tooltip when connected to AC adaptor
  • May 05, 2009
    r105 ( right click menu now stays open after inital click.) committed by matthew.horsell   -   right click menu now stays open after inital click.
    right click menu now stays open after inital click.
  • May 01, 2009
    batterymon-1.2.0.tar.gz (a few bug fixes) file uploaded by matthew.horsell
  • May 01, 2009
    r104 (fixed battermon install path) committed by matthew.horsell   -   fixed battermon install path
    fixed battermon install path
  • Apr 30, 2009
    batterymon-1.1.0.tar.gz (New improved version ) file uploaded by matthew.horsell   -  
    Labels: Featured
    Labels: Featured
  • Apr 30, 2009
    r103 (Version update) committed by matthew.horsell   -   Version update
    Version update
  • Apr 30, 2009
    r102 (setting file detection disabled) committed by matthew.horsell   -   setting file detection disabled
    setting file detection disabled
  • Apr 30, 2009
    r101 (disable preferences for now) committed by matthew.horsell   -   disable preferences for now
    disable preferences for now
  • Apr 28, 2009
    r100 (updates to settings code. currently only updates on restart ...) committed by matthew.horsell   -   updates to settings code. currently only updates on restart problems identify battery dishcarging full cleanly etc
    updates to settings code. currently only updates on restart problems identify battery dishcarging full cleanly etc
  • Apr 28, 2009
    r99 (reads tray settings on startup) committed by matthew.horsell   -   reads tray settings on startup
    reads tray settings on startup
  • Apr 28, 2009
    r98 (Copied brance to trunk) committed by matthew.horsell   -   Copied brance to trunk
    Copied brance to trunk
  • Apr 28, 2009
    r97 (clear repo) committed by matthew.horsell   -   clear repo
    clear repo
  • Apr 23, 2009
    r96 (fixed tab problem) committed by matthew.horsell   -   fixed tab problem
    fixed tab problem
  • Apr 23, 2009
    r95 (should now stop blinking when battery is charging from empty) committed by matthew.horsell   -   should now stop blinking when battery is charging from empty
    should now stop blinking when battery is charging from empty
  • Apr 23, 2009
    r94 (more work towards saving settings) committed by matthew.horsell   -   more work towards saving settings
    more work towards saving settings
  • Apr 21, 2009
    r93 (systray settings are now stored in file) committed by matthew.horsell   -   systray settings are now stored in file
    systray settings are now stored in file
  • Apr 21, 2009
    r92 ( and some more :) ) committed by matthew.horsell   -   and some more :)
    and some more :)
  • Apr 21, 2009
    r91 ( bug fixes) committed by matthew.horsell   -   bug fixes
    bug fixes
  • Apr 11, 2009
    r90 (added batterymon.rc settings can now detech correct file) committed by matthew.horsell   -   added batterymon.rc settings can now detech correct file
    added batterymon.rc settings can now detech correct file
  • Apr 11, 2009
    r89 (settings) committed by matthew.horsell   -   settings
    settings
  • Apr 11, 2009
    r88 (added settings.py) committed by matthew.horsell   -   added settings.py
    added settings.py
  • Apr 10, 2009
    r87 (bug fixes logger) committed by matthew.horsell   -   bug fixes logger
    bug fixes logger
  • Apr 10, 2009
    r86 (split logger into logger.py) committed by matthew.horsell   -   split logger into logger.py
    split logger into logger.py
  • Apr 10, 2009
    r85 (split logger into logger.py) committed by matthew.horsell   -   split logger into logger.py
    split logger into logger.py
 
Hosted by Google Code