[haiku-bugs] Re: [Haiku] #5537: ACPI: PowerStatus sometimes shows battery 0%

  • From: "vegardw" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Mar 2010 23:22:51 -0000

#5537: ACPI: PowerStatus sometimes shows battery 0%
--------------------------+-------------------------------------------------
 Reporter:  vegardw       |       Owner:  nobody        
     Type:  bug           |      Status:  new           
 Priority:  normal        |   Milestone:  R1            
Component:  Drivers/ACPI  |     Version:  R1/Development
 Keywords:                |   Blockedby:                
 Platform:  All           |    Blocking:                
--------------------------+-------------------------------------------------

Comment(by vegardw):

 Doesn't look like it is using APM. With only APM enabled, PowerStatus
 won't run at all. When I run it in a terminal with only APM enabled, the
 following is printed, and PowerStatus exits without showing the window at
 all:
 {{{
 ~> PowerStatus
 ACPI connect
 No power interface found.
 }}}

 When the battery level is shown correctly, the following is printed and
 the window is shown:
 {{{
 ~> PowerStatus
 ACPI connect
 try /dev/power/acpi_battery/0
 ACPI driver found
 }}}

 Also, when only ACPI is enabled and the battery is shown as 0%, last full
 charge etc is displayed correctly, som I'm pretty sure it's ACPI that's
 used.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5537#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: