Results 1 to 8 of 8

Thread: Battery always shown as charging

  1. #1
    Join Date
    Mar 2010
    Location
    Near Hays Kansas
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Angry Battery always shown as charging

    My iBook G3/600 running Ubuntu 10.10 always says the battery is charging and plugged in even when its not. Any ideas? Its really getting annoying when it just dies because it runs out of battery.
    I've tried batmon but the whole system thinks it's plugged in so that doesn't help at all. I'm stuck guessing from the charge gauge on the bottom of the battery.
    @thewillweeks
    Linux User #531848 and Ubuntu User #33336
    My Personal Blog (not active)

  2. #2
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Battery always shown as charging

    do you have the line
    Code:
    pmu_battery
    in /etc/modules ?
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  3. #3
    Join Date
    Mar 2010
    Location
    Near Hays Kansas
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Battery always shown as charging

    No, is that what I need to add? gedit has loaded it as read only, how do I edit if I need to?
    Last edited by wweeks; March 13th, 2011 at 09:09 PM. Reason: Adding more details.
    @thewillweeks
    Linux User #531848 and Ubuntu User #33336
    My Personal Blog (not active)

  4. #4
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Battery always shown as charging

    Code:
    gksudo /etc/modules
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  5. #5
    Join Date
    Mar 2010
    Location
    Near Hays Kansas
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Battery always shown as charging

    So I did that and nothing happens? I just copied and pasted it.
    I went ahead and opened it again and its still read only.
    I also tried sudo bash with no luck.
    @thewillweeks
    Linux User #531848 and Ubuntu User #33336
    My Personal Blog (not active)

  6. #6
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Battery always shown as charging

    In a terminal:

    Code:
    su
    (login as root with root password)
    then
    Code:
    nano /etc/modules
    add the line
    CTRL-X and "y" to save
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  7. #7
    Join Date
    Mar 2010
    Location
    Near Hays Kansas
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Battery always shown as charging

    Thank you so much! I ended up having to set a root password using the instructions I found here: http://www.debuntu.org/2006/04/24/34...r-the-sudo-way and then was good to go.
    @thewillweeks
    Linux User #531848 and Ubuntu User #33336
    My Personal Blog (not active)

  8. #8
    Join Date
    Jan 2011
    Beans
    939

    Re: Battery always shown as charging

    Just in case there are any new users reading this thread, it probably should be pointed out that the approach taken in the above posts is frowned upon in Ubuntu. See the sticky post in the security section http://ubuntuforums.org/showthread.php?t=1486138

    You should of typed "sudo gedit /etc/modules" to open the file with write permission.

    If you had done a search on the battery problem before posting then you would have found a solution quicker and a more 'correct' approach. When doing a search it is not a good idea to take the first answer you find, but try and work out the 'best practise' solution by finding other posts on the subject. Also, I would limit the search to within a year otherwise the advice will be dated and probably wrong.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •