https://bugzilla.kernel.org/show_bug.cgi?id=97841

            Bug ID: 97841
           Summary: Make it possible to detect that a battery is inside a
                    dock
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I have access to a convertible Toshiba machine where the 2nd battery 
is in detachable keyboard. This is the decompiled DSDT:
https://hadess.fedorapeople.org/toshiba.dsl

There's no BAT0, BAT1 is in the screen, and BAT2 is in the keyboard.

BAT2 can be ejected (it has an _EJD method), but the dock code doesn't 
see it as having a battery:
$ pwd
/sys/devices/platform/dock.0
$ cat flags
16
$ cat type
dock_station

I'd eventually like to be able to say that, if I can detect that the 
battery is inside the dock, to mark it as such in the UI[1] (even 
better would be to say it's "in the keyboard" but I'm not sure we can 
easily detect that).

[1]: https://bugzilla.gnome.org/show_bug.cgi?id=748592

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to