Page 1 of 10 123 ... LastLast
Results 1 to 10 of 96

Thread: power manager not recognizing battery

  1. #1
    Join Date
    Dec 2008
    Beans
    138
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Unhappy power manager not recognizing battery

    Just got a new Toshiba Satellite L-655-S5150. (running 64Bit ubuntu 11.04)

    the only thing wrong with it now is the power manager has no tab for battery options. the computer works if its unpluged, and when plugged back in the indicator lights on the laptop will say its charging, but the whole time power manager thinks the laptop is plugged in.

    the other day i had this problem with my headphone jack not working that was fixed, http://ubuntuforums.org/showthread.php?t=1774627

    i dont know if that had anything to do with it, ( i wouldn't think so anyway.)

    i mostly keep my laptop plugged in, but there are lots of times where im using only battery power, and it would be nice to know when my battery is getting low, so i don't lose my work.


    (screenshot of my problem)
    http://i56.tinypic.com/allngw.png

  2. #2
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: power manager not recognizing battery

    Hi

    Not sure if i can help with this one but maybe it can be narrowed down for others.

    Open a terminal and type

    Code:
    acpi_listen
    Pull out the laptop power supply and put it back in. Do you get output like below ?

    Code:
    matthew@matthew-laptop:~/a$ acpi_listen
    ac_adapter ADP1 00000080 00000000
    battery BAT0 00000080 00000001
    ac_adapter ADP1 00000080 00000001
    battery BAT0 00000080 00000001
    ^C
    matthew@matthew-laptop:~/a$
    Press ctrl + c to stop acpi_listen

    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  3. #3
    Join Date
    Dec 2008
    Beans
    138
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: power manager not recognizing battery

    i get absolutely nothing. ubuntu just behaves as if it is still plugged in. the indicator lights on my laptop are working just fine though. ubuntu seems to be ignoring this whole process.

  4. #4
    Join Date
    Dec 2008
    Beans
    138
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: power manager not recognizing battery

    Code:
    nate@ubuntu:~$ acpi_listen
    
    
    ^C
    nate@ubuntu:~$

  5. #5
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: power manager not recognizing battery

    Hi

    I am no expert on this at all. However, my understanding on this was acpi_listen connects to the acpid and that gets the acpi events using netlink from the kernel.

    Therefore, this may be a kernel issue if you are getting no acpi events for unplugging the power supply. However, i am not 100% sure about this and someone will correct me if i am wrong.

    What is the make and model of the laptop ?

    Can you post the output of

    Code:
    ls /sys/class
    and

    Code:
    ls /sys/class/power_supply
    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  6. #6
    Join Date
    Dec 2008
    Beans
    138
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: power manager not recognizing battery

    it's a toshiba satellite L-655-S5150


    Code:
    nate@ubuntu:~$ ls /sys/class
    ata_device  dmi          ieee80211  pci_bus       rtc           tty
    ata_link    drm          input      pktcdvd       scsi_device   usb
    ata_port    firmware     leds       power_supply  scsi_disk     usbmon
    backlight   gpio         mdio_bus   ppdev         scsi_generic  vc
    bdi         graphics     mem        ppp           scsi_host     video4linux
    block       hidraw       misc       printer       sound         vtconsole
    bsg         hwmon        mmc_host   regulator     spi_master    wmi
    dma         i2c-adapter  net        rfkill        thermal
    nate@ubuntu:~$ ls /sys/class/power_supply
    ACAD
    nate@ubuntu:~$

  7. #7
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: power manager not recognizing battery

    Hi

    What's the output of

    Code:
    cat /sys/class/power_supply/ACAD/online
    What is your output from

    Code:
    uname -a
    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  8. #8
    Join Date
    Dec 2008
    Beans
    138
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: power manager not recognizing battery

    Code:
    nate@ubuntu:~$ cat /sys/class/power_supply/ACAD/online
    1
    nate@ubuntu:~$ uname -a
    Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    nate@ubuntu:~$
    i ran the first command with the power cord both plugged-in, and then with it un-plugged, with the same result.

  9. #9
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: power manager not recognizing battery

    Hi

    That looks all right so far.

    A quick look at the kernel message buffer might be in order. Can you post the output of

    Code:
    dmesg | grep -i acpi
    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  10. #10
    Join Date
    Dec 2008
    Beans
    138
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: power manager not recognizing battery

    Code:
    nate@ubuntu:~$ dmesg | grep -i acpi
    [    0.000000]  BIOS-e820: 00000000bb6bf000 - 00000000bb7bf000 (ACPI NVS)
    [    0.000000]  BIOS-e820: 00000000bb7bf000 - 00000000bb7ff000 (ACPI data)
    [    0.000000] ACPI: RSDP 00000000000fe020 00024 (v02 TOSQCI)
    [    0.000000] ACPI: XSDT 00000000bb7fe120 00074 (v01 TOSQCI TOSQCI00 00000001      01000013)
    [    0.000000] ACPI: FACP 00000000bb7fc000 000F4 (v04 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: DSDT 00000000bb7ec000 0CE26 (v02 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: FACS 00000000bb76e000 00040
    [    0.000000] ACPI: ASF! 00000000bb7fd000 000A5 (v32 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: HPET 00000000bb7fb000 00038 (v01 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: APIC 00000000bb7fa000 0008C (v02 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: MCFG 00000000bb7f9000 0003C (v01 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: SLIC 00000000bb7eb000 00176 (v01 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: BOOT 00000000bb7e7000 00028 (v01 TOSQCI TOSQCI00 00000001 MSFT 01000013)
    [    0.000000] ACPI: ASPT 00000000bb7e4000 00034 (v04 INTEL  Calpella 00000001 MSFT 01000013)
    [    0.000000] ACPI: WDAT 00000000bb7e3000 00224 (v01 INTEL  Calpella 00000001 MSFT 01000013)
    [    0.000000] ACPI: SSDT 00000000bb7e2000 009F1 (v01  PmRef    CpuPm 00003000 INTL 20051117)
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: PM-Timer IO Port: 0x408
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] enabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x00] disabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x00] disabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
    [    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [    0.000000] ACPI: IRQ0 used by override.
    [    0.000000] ACPI: IRQ2 used by override.
    [    0.000000] ACPI: IRQ9 used by override.
    [    0.000000] Using ACPI (MADT) for SMP configuration information
    [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
    [    0.004492] ACPI: Core revision 20110112
    [    0.004617] ACPI: Forced DSDT copy: length 0x0CE26 copied locally, original unmapped
    [    0.445257] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    [    0.445259] ACPI: bus type pci registered
    [    0.496003] ACPI: EC: Look up EC in DSDT
    [    0.498390] ACPI: Executed 1 blocks of module-level executable AML code
    [    0.583359] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
    [    0.584041] ACPI: SSDT 00000000bb691c18 003C7 (v01  PmRef  Cpu0Ist 00003000 INTL 20051117)
    [    0.584620] ACPI: Dynamic OEM Table Load:
    [    0.584623] ACPI: SSDT           (null) 003C7 (v01  PmRef  Cpu0Ist 00003000 INTL 20051117)
    [    0.584832] ACPI: SSDT 00000000bb68f018 00891 (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
    [    0.585386] ACPI: Dynamic OEM Table Load:
    [    0.585388] ACPI: SSDT           (null) 00891 (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
    [    0.693610] ACPI: SSDT 00000000bb690a98 00303 (v01  PmRef    ApIst 00003000 INTL 20051117)
    [    0.694249] ACPI: Dynamic OEM Table Load:
    [    0.694252] ACPI: SSDT           (null) 00303 (v01  PmRef    ApIst 00003000 INTL 20051117)
    [    0.713433] ACPI: SSDT 00000000bb68ed98 00119 (v01  PmRef    ApCst 00003000 INTL 20051117)
    [    0.714064] ACPI: Dynamic OEM Table Load:
    [    0.714067] ACPI: SSDT           (null) 00119 (v01  PmRef    ApCst 00003000 INTL 20051117)
    [    0.743543] ACPI: Interpreter enabled
    [    0.743547] ACPI: (supports S0 S3 S4 S5)
    [    0.743592] ACPI: Using IOAPIC for interrupt routing
    [    0.783755] ACPI: EC: GPE = 0x1e, I/O: command/status = 0x66, data = 0x62
    [    0.813608] ACPI: ACPI Dock Station Driver: 1 docks/bays found
    [    0.813614] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [    0.814044] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
    [    0.822191] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [    0.822366] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
    [    0.822454] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
    [    0.822500] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT]
    [    0.827952] ACPI: PCI Root Bridge [CPBG] (domain 0000 [bus ff])
    [    0.828406] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 12 14 15)
    [    0.828461] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *11 12 14 15)
    [    0.828510] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
    [    0.828559] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.828607] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
    [    0.828656] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
    [    0.828704] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 *10 12 14 15)
    [    0.828752] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 *11 12 14 15)
    [    0.829390] PCI: Using ACPI for IRQ routing
    [    0.837832] pnp: PnP ACPI init
    [    0.837849] ACPI: bus type pnp registered
    [    0.838386] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
    [    0.838492] pnp 00:01: Plug and Play ACPI device, IDs PNP0200 (active)
    [    0.838525] pnp 00:02: Plug and Play ACPI device, IDs INT0800 (active)
    [    0.838663] pnp 00:03: Plug and Play ACPI device, IDs PNP0103 (active)
    [    0.838711] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
    [    0.838837] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
    [    0.838879] pnp 00:06: Plug and Play ACPI device, IDs PNP0b00 (active)
    [    0.838957] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
    [    0.839026] pnp 00:08: Plug and Play ACPI device, IDs SYN103f PNP0f13 (active)
    [    0.839426] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
    [    0.839641] pnp 00:0a: Plug and Play ACPI device, IDs PNP0a03 (active)
    [    0.839729] pnp: PnP ACPI: found 11 devices
    [    0.839731] ACPI: ACPI bus type pnp unregistered
    [    0.899228] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
    [    0.899281] ACPI: AC Adapter [ACAD] (on-line)
    [    0.899419] ACPI: Power Button [PWRB]
    [    0.921664] ACPI: Lid Switch [LID]
    [    0.921762] ACPI: Power Button [PWRF]
    [    0.921977] ACPI: acpi_idle yielding to intel_idle
    [    0.923477] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
    [    0.923505] ACPI: Battery Slot [BAT1] (battery absent)
    [   13.740383] acpi device:02: registered as cooling_device2
    [   13.740924] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
    nate@ubuntu:~$

Page 1 of 10 123 ... LastLast

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
  •