public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Ernesto Cárdenas Gómez" <willecg@openmailbox.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Battery plugin on fbpanel
Date: Tue, 22 Nov 2016 16:33:59 -0600	[thread overview]
Message-ID: <20161122163359.27accf14@laptop.willecg> (raw)
In-Reply-To: <20161122144514.GA1870@waltdnes.org>

El Tue, 22 Nov 2016 09:45:15 -0500
"Walter Dnes" <waltdnes@waltdnes.org> escribió:
> On Mon, Nov 21, 2016 at 08:53:00PM -0600, William Ernesto Cárdenas
> Gómez wrote
> > Hello
> > 
> > I am testing fbpanel and generally I like it, but the battery plugin
> > does not work. The plugin only says "Running on AC No battery found"
> > I have been searching on the web but no solution to this problem.
> > 
> > ¿Did anybody knows where to get or have info about this?  
> 
>   Have you tried it with the machine unplugged?  Do you have the
> necessary items enabled in your kernel config?  In "make menuconfig" I
> have...

Plugged and unplugged is the same problem.
> 
> Power management and ACPI options  --->
>     [*] ACPI (Advanced Configuration and Power Interface) Support
> ---> <*>   AC Adapter
>             <*>   Battery
>             ...and various others.
> 

The kernel options are ok

> 
>   Also, what is the output of "ls -al /sys/class/power_supply/"?  I
> get
> 
> total 0
> drwxr-xr-x  2 root root 0 Nov 22 05:29 .
> drwxr-xr-x 42 root root 0 Nov 22 05:29 ..
> lrwxrwxrwx  1 root root 0 Nov 22 05:29 ACAD
> -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD
> lrwxrwxrwx  1 root root 0 Nov 22 05:29 BAT1
> -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1
> 

The output is
total 0
drwxr-xr-x  2 root root 0 nov 22 16:21 .
drwxr-xr-x 49 root root 0 nov 22 16:21 ..
lrwxrwxrwx  1 root root 0 nov 22 16:16 ADP0
-> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ADP0
lrwxrwxrwx  1 root root 0 nov 22 16:16 BAT0
-> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0

No problem with tint2 and conky.



      reply	other threads:[~2016-11-22 22:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-22  2:53 [gentoo-user] Battery plugin on fbpanel William Ernesto Cárdenas Gómez
2016-11-22 14:45 ` Walter Dnes
2016-11-22 22:33   ` William Ernesto Cárdenas Gómez [this message]

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=20161122163359.27accf14@laptop.willecg \
    --to=willecg@openmailbox.org \
    --cc=gentoo-user@lists.gentoo.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