El Tue, 22 Nov 2016 09:45:15 -0500
"Walter Dnes" 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.