Re: [CFT] sysutils/xfce4-power-manager 1.4.2
On 02/21/15 18:16, Olivier Duchateau wrote: The panel icon now shows correctly if I'm running on line power or battery (as it did before upower 0.99). An estimate is given about battery life and I also receive notifications; the two however don't agree at all: e.g. panel gives 2h1', notification says 2' (60 times less). What says 'upower -d'? % upower -d Device: /org/freedesktop/UPower/devices/battery_devxbatteryx0 native-path: dev.battery.0 vendor: SANYO model:Li_Ion_4000mA serial: 0005 power supply: yes updated: Mon Feb 23 09:20:37 2015 (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable:yes state: fully-charged warning-level: none energy: 35.7272 Wh energy-empty:1.0656 Wh energy-full: 35.7272 Wh energy-full-design: 37 Wh energy-rate: 0 W voltage: 14.8 V percentage: 100% capacity:96.56% technology: lithium-ion icon-name: 'battery-full-charged-symbolic' History (charge): 1424679577 100.000 fully-charged 1424679546 0.000 unknown History (rate): 1424679546 0.000 unknown Device: /org/freedesktop/UPower/devices/line_power_hwxacpixacline native-path: hw.acpi.acline power supply: yes updated: Mon Feb 23 09:20:37 2015 (0 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Thu Jan 1 01:00:00 1970 (1424679637 seconds ago) has history: no has statistics: no battery present: yes state: fully-charged warning-level: none energy: 35.7272 Wh energy-full: 35.7272 Wh energy-rate: 0 W percentage: 100% icon-name: 'battery-full-charged-symbolic' Daemon: daemon-version: 0.99.0 on-battery: no lid-is-closed: no lid-is-present: no is-docked: no critical-action: PowerOff ventu@guardian:~ % upower -d Device: /org/freedesktop/UPower/devices/battery_devxbatteryx0 native-path: dev.battery.0 vendor: SANYO model:Li_Ion_4000mA serial: 0005 power supply: yes updated: Mon Feb 23 09:21:02 2015 (2 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable:yes state: discharging warning-level: none energy: 35.7272 Wh energy-empty:1.0656 Wh energy-full: 35.7272 Wh energy-full-design: 37 Wh energy-rate: 7.696 W voltage: 14.8 V time to empty: 4.6 hours percentage: 100% capacity:96.56% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1424679577 100.000 fully-charged History (rate): 1424679662 7.696 discharging Device: /org/freedesktop/UPower/devices/line_power_hwxacpixacline native-path: hw.acpi.acline power supply: yes updated: Mon Feb 23 09:21:01 2015 (3 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Thu Jan 1 01:00:00 1970 (1424679664 seconds ago) has history: no has statistics: no battery present: yes state: discharging warning-level: none energy: 35.7272 Wh energy-full: 35.7272 Wh energy-rate: 7.696 W time to empty: 4.6 hours percentage: 100% icon-name: 'battery-full-symbolic' Daemon: daemon-version: 0.99.0 on-battery: yes lid-is-closed: no lid-is-present: no is-docked: no critical-action: PowerOff Overall, this agrees with what the panel says; it's just notification bubbles that give absurd values. Closing the lid does not lock the screen: this was working before (with older upower). Perhaps with UPower 0.99.2 [1]? [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196394 This only made things worse: _ lid closing still does not lock; _ panel plugin now crashes; _ in addition I can't open Settings -> Power Manager anymore (no errors, just nothing). bye & Thanks av. ___ fre
Re: [CFT] sysutils/xfce4-power-manager 1.4.2
On Tue, 17 Feb 2015 23:14:34 + Olivier Duchateau wrote: > An update of sysutils/xfce4-power-manager is available for some time in > Xfce devel repo. It's time to test it. Settings manager and panel were > rewritten, support of FreeBSD (and DragonFly) was enhanced. upower 0.99 dropped support for suspend. It's now supposed to be provided by systemd or something: http://cgit.freedesktop.org/upower/commit/?id=1ee642e705a63f5ad56a6b55e4bf5c4a64c959b8 Commands like the following no longer work for instance which means Xfce no longer supports suspend. dbus-send --system --print-reply --dest="org.freedesktop.UPower" \ /org/freedesktop/UPower org.freedesktop.UPower.Suspend Does this update provide alternative dbus methods? Or should upower be downgraded to 0.9.x? ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"
Re: [CFT] sysutils/xfce4-power-manager 1.4.2
On Sat, 21 Feb 2015 15:25:44 +0100 Andrea Venturoli wrote: > On 02/18/15 00:14, Olivier Duchateau wrote: > > Hi, > > > > An update of sysutils/xfce4-power-manager is available for some time in > > Xfce devel repo. It's time to test it. > > Settings manager and panel were rewritten, support of FreeBSD (and > > DragonFly) was enhanced. > > Hello. Hi, > > I tried this new version on my Acer TM B113-E (I was the person who > entered bug #197529). Your bug report is work in progress :) > > > > > On my laptop I can decrease (or increase brightness level with multimedia > > keys, but not with sysctl). > > Changing brighness through the keys does not work, but it never did. > > > > > When panel plugin is running, we can define new mode calls 'presentation > > mode'. I have experimental patches [4] which inhibits xscreensaver (apply > > to sysutils/power-manager-common). To enable, new property must be created: > > > > xfconf-query -c xfce4-power-manager -p > > /xfce4-power-manager/presentation-mode -n -t bool -s true > > > > To disable: > > xfconf-query -c xfce4-power-manager -p > > /xfce4-power-manager/presentation-mode -T > > I see this option in the panel; do I still need to run the above commands? No, it's if panel doesn't work. > > > > > The panel icon now shows correctly if I'm running on line power or > battery (as it did before upower 0.99). > An estimate is given about battery life and I also receive > notifications; the two however don't agree at all: e.g. panel gives > 2h1', notification says 2' (60 times less). What says 'upower -d'? > > > > Closing the lid does not lock the screen: this was working before (with > older upower). Perhaps with UPower 0.99.2 [1]? [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196394 > > > > Also, the new panel item is a big waste on a 10" monitor: with the older > version the icon lived in the notification area. Is this behaviour still > possible? Yes, patch is available in Xfce's bugzilla. > > > > > Overall, it looks like the old functionality (the one that upower 0.99 > broke) was in part (but not all) recovered. > > > > bye & Thanks > av. > ___ > freebsd-xfce@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xfce > To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org" -- Olivier Duchateau ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"
Re: [CFT] sysutils/xfce4-power-manager 1.4.2
On 02/18/15 00:14, Olivier Duchateau wrote: Hi, An update of sysutils/xfce4-power-manager is available for some time in Xfce devel repo. It's time to test it. Settings manager and panel were rewritten, support of FreeBSD (and DragonFly) was enhanced. Hello. I tried this new version on my Acer TM B113-E (I was the person who entered bug #197529). On my laptop I can decrease (or increase brightness level with multimedia keys, but not with sysctl). Changing brighness through the keys does not work, but it never did. When panel plugin is running, we can define new mode calls 'presentation mode'. I have experimental patches [4] which inhibits xscreensaver (apply to sysutils/power-manager-common). To enable, new property must be created: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -n -t bool -s true To disable: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -T I see this option in the panel; do I still need to run the above commands? The panel icon now shows correctly if I'm running on line power or battery (as it did before upower 0.99). An estimate is given about battery life and I also receive notifications; the two however don't agree at all: e.g. panel gives 2h1', notification says 2' (60 times less). Closing the lid does not lock the screen: this was working before (with older upower). Also, the new panel item is a big waste on a 10" monitor: with the older version the icon lived in the notification area. Is this behaviour still possible? Overall, it looks like the old functionality (the one that upower 0.99 broke) was in part (but not all) recovered. bye & Thanks av. ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"