Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Pybattery - battery statusbar applet with candies

    Reply
    Page 70 of 74 | Prev | 60   68     69   70   71     72   | Next | Last
    412b | # 691 | 2011-08-04, 06:49 | Report

    Originally Posted by sr00t View Post
    BQ27200 is really buggy in my cellphone: it says my battery is between 50%-29% before (without even displaying it) shuts down completely.
    Not accurate at all. I've been using it since the problem with battery temperature display without problems.
    After last update, is so inaccurate!
    I tried BQ27200 alternative but is more unstable than the original module (it changes battery charge percentages very fast, based on the power usage @ the moment) but even this modified module would warn me that I'm draining out of battery.

    I'll try Nokia BME next. Please verify what I say because if this is general, we're in front of an ugly, ugly bug. Thanks a lot.
    BQ27200 works fine for me. If it shows weird values to you, you better dig into values bq27x00 kernel module providing.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to 412b For This Useful Post:
    Estel

     
    sr00t | # 692 | 2011-08-04, 12:34 | Report

    Originally Posted by 412b View Post
    BQ27200 works fine for me. If it shows weird values to you, you better dig into values bq27x00 kernel module providing.
    Using kernel-powerv47 here. What should I grep?
    I'm sorry if I bother you.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    412b | # 693 | 2011-08-05, 07:43 | Report

    Just run in XTerm to get values provided by bq27x00 to HAL:
    Code:
    hal-device computer_power_supply_battery_bq27200_0

    Edit | Forward | Quote | Quick Reply | Thanks

     
    teewan | # 694 | 2011-08-08, 18:21 | Report

    Originally Posted by 412b View Post
    Well, I think problem is some obsolete files not cleaned up by dpkg and apm.
    But can anybody also attach output of running
    Code:
    python -OO /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py
    and
    Code:
    ls -Rls /opt/maemo/usr/lib/advanced-power-monitor/
    The simpliest solution at the moment is to run as root
    Code:
    rm -r /opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode
    Thanks a million!
    Solved my problem too after executing.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    CasTTeLLo | # 695 | 2011-08-13, 15:30 | Report

    Wat does this mean

    Nokia-N900:~# rm -r /opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode
    rm: cannot remove '/opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode': No such file or directory

    Nokia-N900:~# python -OO /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py
    Traceback (most recent call last):
    File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 8, in <module>
    import AdvancedPowerMonitor
    File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 14, in <module>
    from advpowcommon.util.loader import ClassLoader
    ImportError: No module named advpowcommon.util.loader
    Nokia-N900:~# ls -Rls /opt/maemo/usr/lib/advanced-power-monitor/

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by CasTTeLLo; 2011-08-13 at 15:35.

     
    412b | # 696 | 2011-08-13, 19:03 | Report

    Originally Posted by CasTTeLLo View Post
    Wat does this mean

    Nokia-N900:~# rm -r /opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode
    rm: cannot remove '/opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode': No such file or directory

    Nokia-N900:~# python -OO /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py
    Traceback (most recent call last):
    File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 8, in <module>
    import AdvancedPowerMonitor
    File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 14, in <module>
    from advpowcommon.util.loader import ClassLoader
    ImportError: No module named advpowcommon.util.loader
    Nokia-N900:~# ls -Rls /opt/maemo/usr/lib/advanced-power-monitor/
    try reinstalling advanced-power-common
    and ls couldn't give you no output.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to 412b For This Useful Post:
    CasTTeLLo

     
    canuckkat | # 697 | 2011-08-18, 04:15 | Report

    Just wanted to say that 412b's solution worked for me as well. Was getting "devicemodepowerlaunch has not attribute 'get_type'" or some such nonsense before

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 698 | 2011-08-18, 18:29 | Report

    I think I *may* have found a bug.

    When, for some reasons, applet (or daemon?) can't get some modes data (i.e. bq27200 or nokia bme when bme is disabled), but daemon himself is working right, any attempt to switch mode ends up in control panel (of advanced power monitor) becoming unresponsive.

    In fact, it does *not* "hand" - just clicking "save" does nothing. Button highlights, but pop-up with controls doesn't hide. If we cancel it, open it again and try another time, it *does* close as normal upon "save":, but no changes are made. If You check again, GUI returns info about other mode running (from example, if we try to switch from nokia bme to bq27200, 1st attempt fail, 2nd seems to succeed, GUI now tell us that bq27200 is active), but info is still from "old" mode.

    Then, 3th attempt to switch fail again - need to cancel it. 4th attempt "succeed" without real change, and so goes on. Just like control panel has got compulsive-obsessive disorder

    I know, it's little hard to explain, but I hope my report was understandable. If there is any way that I can help debugging - i.e. some output from somewhere I'll be glad to help.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    412b | # 699 | 2011-08-19, 12:01 | Report

    Do you start/stop bme and load bq27200 on the fly (w/o rebooting)?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 700 | 2011-08-19, 15:35 | Report

    2x nope. It just happens sometime, can't reproduce, but it wasn't "one time mystery error" either. *if* it happens - and I've seen it 2-3 times in last 2 days - it last until reboot.

    If it's relevant - I use KP47, with bq27200 enabled as by default.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 70 of 74 | Prev | 60   68     69   70   71     72   | Next | Last
vBulletin® Version 3.8.8
Normal Logout