Gentoo Archives: gentoo-user

From: "William Ernesto Cárdenas Gómez" <willecg@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Battery plugin on fbpanel
Date: Tue, 22 Nov 2016 22:30:25
Message-Id: 20161122163359.27accf14@laptop.willecg
In Reply to: Re: [gentoo-user] Battery plugin on fbpanel by Walter Dnes
1 El Tue, 22 Nov 2016 09:45:15 -0500
2 "Walter Dnes" <waltdnes@××××××××.org> escribió:
3 > On Mon, Nov 21, 2016 at 08:53:00PM -0600, William Ernesto Cárdenas
4 > Gómez wrote
5 > > Hello
6 > >
7 > > I am testing fbpanel and generally I like it, but the battery plugin
8 > > does not work. The plugin only says "Running on AC No battery found"
9 > > I have been searching on the web but no solution to this problem.
10 > >
11 > > ¿Did anybody knows where to get or have info about this?
12 >
13 > Have you tried it with the machine unplugged? Do you have the
14 > necessary items enabled in your kernel config? In "make menuconfig" I
15 > have...
16
17 Plugged and unplugged is the same problem.
18 >
19 > Power management and ACPI options --->
20 > [*] ACPI (Advanced Configuration and Power Interface) Support
21 > ---> <*> AC Adapter
22 > <*> Battery
23 > ...and various others.
24 >
25
26 The kernel options are ok
27
28 >
29 > Also, what is the output of "ls -al /sys/class/power_supply/"? I
30 > get
31 >
32 > total 0
33 > drwxr-xr-x 2 root root 0 Nov 22 05:29 .
34 > drwxr-xr-x 42 root root 0 Nov 22 05:29 ..
35 > lrwxrwxrwx 1 root root 0 Nov 22 05:29 ACAD
36 > -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD
37 > lrwxrwxrwx 1 root root 0 Nov 22 05:29 BAT1
38 > -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1
39 >
40
41 The output is
42 total 0
43 drwxr-xr-x 2 root root 0 nov 22 16:21 .
44 drwxr-xr-x 49 root root 0 nov 22 16:21 ..
45 lrwxrwxrwx 1 root root 0 nov 22 16:16 ADP0
46 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ADP0
47 lrwxrwxrwx 1 root root 0 nov 22 16:16 BAT0
48 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
49
50 No problem with tint2 and conky.