public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Battery plugin on fbpanel
@ 2016-11-22  2:53 William Ernesto Cárdenas Gómez
  2016-11-22 14:45 ` Walter Dnes
  0 siblings, 1 reply; 3+ messages in thread
From: William Ernesto Cárdenas Gómez @ 2016-11-22  2:53 UTC (permalink / raw
  To: gentoo-user

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Battery plugin on fbpanel
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Walter Dnes @ 2016-11-22 14:45 UTC (permalink / raw
  To: gentoo-user

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...

Power management and ACPI options  --->
    [*] ACPI (Advanced Configuration and Power Interface) Support  --->
            <*>   AC Adapter
            <*>   Battery
            ...and various others.


  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

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Battery plugin on fbpanel
  2016-11-22 14:45 ` Walter Dnes
@ 2016-11-22 22:33   ` William Ernesto Cárdenas Gómez
  0 siblings, 0 replies; 3+ messages in thread
From: William Ernesto Cárdenas Gómez @ 2016-11-22 22:33 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-22 22:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox