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. ___
Re: [CFT] sysutils/xfce4-power-manager 1.4.2
On Sat, 21 Feb 2015 15:25:44 +0100 Andrea Venturoli m...@netfence.it 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 olivi...@freebsd.org ___ 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
[CFT] sysutils/xfce4-power-manager 1.4.2
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. Unfortunatelly panel still crashes (like current version in ports tree), if acpi_video(4), driver, which controls backlight brightness is not functional. OpenBSD users seem to have same problem. You need to have hw.acpi.video.%s.levels and hw.acpi.video.%s.brightness, otherwise panel crashes. Panel is only essential for backlight brightness, daemon is provided by another port. On my laptop I can decrease (or increase brightness level with multimedia keys, but not with sysctl). Now xfce4-power-manager is divided into: - sysutils/power-manager-common (daemon and settings manager) [1] - sysutils/xfce4-power-manager (panel plugin) [2] Power manager supports also LXDE, but lxpanel must be updated. It's also available in '4.11' branch, see our wiki page [3] for details (this is transitional branch, in other words compatible with our current ports tree, this will change with the 4.12 release). 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 Enjoy [1] https://people.freebsd.org/~olivierd/patches/power-manager-common.shar [2] https://people.freebsd.org/~olivierd/patches/xfce4-power-manager.diff [3] https://wiki.freebsd.org/Xfce [4] https://people.freebsd.org/~olivierd/patches/power-manager-common/ -- Olivier Duchateau olivi...@freebsd.org ___ 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