public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: linux-acpi@vger.kernel.org
Subject: Re: Detecting that a battery is inside a dock?
Date: Wed, 06 May 2015 16:20:17 +0200	[thread overview]
Message-ID: <1430922017.2786.10.camel@hadess.net> (raw)
In-Reply-To: <1430320098.2525.105.camel@hadess.net>

On Wed, 2015-04-29 at 17:08 +0200, Bastien Nocera wrote:
> Hey,
> 
> 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
> 
> Any ideas what might be missing here?
> 
> 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).

Anyone?

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

  reply	other threads:[~2015-05-06 14:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 15:08 Detecting that a battery is inside a dock? Bastien Nocera
2015-05-06 14:20 ` Bastien Nocera [this message]
2015-05-06 22:26   ` Rafael J. Wysocki
2015-05-07  9:11     ` Bastien Nocera
2015-05-07 20:43       ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430922017.2786.10.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox