On Thu, 18 Dec 2014 10:52:42 +0100 Stefan Sperling <[email protected]> wrote:
> You need both, I believe. > > On my system with XFCE running I see: > > $ pgrep -fl dbus > 6078 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 > --session > 10590 /usr/local/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session > 20502 /usr/local/bin/dbus-daemon --system I tried both ways, with and without mentioned lines in ~/.xinitrc. I would still say that there is no need for them in ~/.xinitrc, as they are already in system-wide /etc/X11/xinit/xinitrc, as stated in mentioned pkg-readmes/dbus-X.X.X One way or another, battery status is still not updated in xfce4-power-manager. As for Stefan's suggestion for removing external battery, I have just tried it, and xfce4-power-manager still does not update status. Here's what sensors say without external battery: pacija@efreet:/usr/local/share/doc/pkg-readmes $ sysctl -a | grep bat hw.sensors.acpibat0.volt0=11.10 VDC (voltage) hw.sensors.acpibat0.volt1=12.38 VDC (current voltage) hw.sensors.acpibat0.power0=5.46 W (rate) hw.sensors.acpibat0.watthour0=18.86 Wh (last full capacity) hw.sensors.acpibat0.watthour1=0.94 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=17.28 Wh (remaining capacity), OK hw.sensors.acpibat0.watthour4=23.20 Wh (design capacity) hw.sensors.acpibat0.raw0=2 (battery charging), OK After inserting external battery live, without reboot: pacija@efreet:/usr/local/share/doc/pkg-readmes $ sysctl -a | grep bat hw.sensors.acpibat0.volt0=11.10 VDC (voltage) hw.sensors.acpibat0.volt1=12.34 VDC (current voltage) hw.sensors.acpibat0.power0=0.00 W (rate) hw.sensors.acpibat0.watthour0=18.86 Wh (last full capacity) hw.sensors.acpibat0.watthour1=0.94 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=17.78 Wh (remaining capacity), OK hw.sensors.acpibat0.watthour4=23.20 Wh (design capacity) hw.sensors.acpibat0.raw0=0 (battery idle), OK hw.sensors.acpibat1.volt0=0.00 VDC (voltage) hw.sensors.acpibat1.volt1=11.59 VDC (current voltage) hw.sensors.acpibat1.power0=25.05 W (rate) hw.sensors.acpibat1.watthour0=0.00 Wh (last full capacity) hw.sensors.acpibat1.watthour1=0.00 Wh (warning capacity) hw.sensors.acpibat1.watthour2=0.00 Wh (low capacity) hw.sensors.acpibat1.watthour3=1.08 Wh (remaining capacity), OK hw.sensors.acpibat1.watthour4=0.00 Wh (design capacity) hw.sensors.acpibat1.raw0=2 (battery full), OK While we are at it, which value is apm supposed to show? Combined acpibat0 and acpibat1? Thanks to all the participants for help. -- Marko Cupać https://www.mimar.rs/

