[haiku-bugs] Re: [Haiku] #5843: ACPI empty battery slots showing up in battery applet. Present battery is also missing.

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Tue, 04 May 2010 16:01:25 -0000

#5843: ACPI empty battery slots showing up in battery applet. Present battery is
also missing.
--------------------------+-------------------------------------------------
 Reporter:  kallisti5     |       Owner:  czeidler      
     Type:  bug           |      Status:  assigned      
 Priority:  normal        |   Milestone:  R1/alpha2     
Component:  Drivers/ACPI  |     Version:  R1/Development
 Keywords:                |   Blockedby:                
 Platform:  x86           |    Blocking:                
--------------------------+-------------------------------------------------

Comment(by kallisti5):

 I checked what Linux did for these battery statuses, unfortunately they
 are a little more dynamic on ACPI battery states. The Linux Kernel checks
 other battery metrics when evaluating the status. However, I did find that
 Linux always assumes an unknown state for the 0 status verifying this is a
 needed addition.

 I am working on a quick patch for the power_managment.h source to include
 the unknown state and for the battery app to act upon it.

 anyone else notice "MANAGMENT" is misspelled in the power_managment.h
 sources and filename?

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

Other related posts: