- Jun 26, 2014
-
-
Eric Koegel authored
-
Eric Koegel authored
-
Simon Steinbeiss authored
Let xfpm control X11's screensaver extension FIXME: dbus_init in power.c resets the configured values if xfpm restarts
-
- Jun 22, 2014
-
-
Harald Judt authored
Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
- Jun 16, 2014
-
-
Carl Simonson authored
Some keyboard brightness controllers have different ranges for levels. Some have a few discreet values. Others are more like a percent. This change uses a step based on the maximum level. If less than 20, use 1. Else, divide by 20. This logic is the same as used in gnome-settings-daemon. It comes from the BRIGHTNESS_STEP_AMOUND macro in plugins/power/gpm-common.h. Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
- Jun 06, 2014
-
-
Eric Koegel authored
This loweres the minimum upower version to support FreeBSD 10 out of the box and fixes a couple other issues. The get_string_sysctl function came from: http://cgit.freedesktop.org/upower/tree/src/freebsd/up-util.c
-
- Jun 04, 2014
-
-
Carl Simonson authored
-
- Jun 03, 2014
-
-
Eric Koegel authored
Xfpm requires the UPOWER_ENABLE_DEPRECATED symbol to be present for suspend/hibernate to still work on upower versions 0.9.8 thru 0.9.23. Adding it for later versions of upower won't do anything, so there's no harm in just adding it. Thanks to Samuli Suominen for reporting and finding the correct fix for this.
-
- Jun 02, 2014
-
-
Eric Koegel authored
With this patch xfpm will cache the brightness level before going to sleep and set it back to that level after resuming from sleep.
-
- Jun 01, 2014
-
-
Eric Koegel authored
The configure.ac.in script uses AC_CHECK_HEADERS for a ton of things but the source files don't use those conditionals. This patch adds those. This should fix building on GNU/Hurd.
-
- May 31, 2014
-
-
Eric Koegel authored
-
- May 30, 2014
-
-
Eric Koegel authored
dpms depended on power which depended on dpms which depended on power which ... Break this loop by making power tell dpms directly when it should be inhibited (presentation mode) and when it goes on/off battery. This fixes at least one known xfpm startup issue.
-
- May 28, 2014
-
-
Eric Koegel authored
-
- May 27, 2014
-
-
Simon Steinbeiss authored
-
- May 26, 2014
-
-
Simon Steinbeiss authored
-
Eric Koegel authored
-
Simon Steinbeiss authored
-
Eric Koegel authored
-
Eric Koegel authored
-
Eric Koegel authored
This patch moves some code around, mostly putting shared stuff into power-common inside common/. It also creates a new plugin to monitor all the batteries in one icon on the panel rather than multiple icons inside the system tray. It also removes the power-info application as that will be moved inside the newly reworked settings dialog.
-
- May 23, 2014
-
-
Sean Davis authored
-
Sean Davis authored
-
Eric Koegel authored
UPower dropped support for managing power. To continue to support suspend and hibernate we'll add those functions into xfpm while borrowing the helper code from xfce4-session.
-
- Apr 29, 2014
-
-
Eric Koegel authored
This patch now pops up a dialog when locking the screen fails either from a lock on lid-close or when going to suspend. If from suspend it will allow the user to choose wether to continue with the suspend operation.
-
Eric Koegel authored
The tip pointer could be used uninitialized when the device state is unknown. Also tooltips are now shown for all device types rather than just UPS and battery (i.e. for the mouse/keyboard icons). This should prevent some confustion over what the other icons represent.
-
- Apr 28, 2014
-
-
Eric Koegel authored
-
Eric Koegel authored
Make changes so that xfpm will compile in --enable-debug=full with the nick/xfce4-dev-tools deprecated+seal branch.
-
Eric Koegel authored
An xfconf and settings option has been added so the user can disable sending network manager to sleep.
-
- Apr 13, 2014
-
-
Eric Koegel authored
-
Stefan Seyfried authored
With /xfce4-power-manager/change-brightness-on-key-events=false, the level variable is used uninitialized and the popup's level gauge is wrong. Slight Code reformatting included, to avoid duplicating most of the code. (Rebased version of a patch I wrote a year ago) Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
Stefan Seyfried authored
They are only mirroring UpDeviceState and UpDeviceKind from libupower-glib anyway. Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
Stefan Seyfried authored
* port most of the upower interfaces to upower-glib * conditionalize stuff that has been deprecated in upower >= 0.99.0 * suspend / hibernate is handled by systemd/logind * if upower is >= 0.99.0 and logind is not running, log errors (as functionality will be missing) Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
Eric Koegel authored
This patch does runtime checks to see if we can use logind for suspend/resume same as poweroff/reboot. There's still full support for ConsoleKit.
-
- Apr 08, 2014
-
-
Eric Koegel authored
Point to the online docs for xfpm's help. This also fixes it where the help button was causing the preferences dialog to quit. Now xfpm will also display the help page when plugged into the settings dialog. This patch removes the old local docs as well.
-
Eric Koegel authored
When xfpm changes it's lock-screen setting, it will also attempt to update xfce4-session. Additionally, xfpm will watch session's lock-screen setting and update its own. This way there is one single setting for both programs in the future, however xfpm will continue to function stand-alone.
-
Stefan Seyfried authored
my bluetooth mouse always shows up as a second battery which is not too useful -- ignore devices starting with "hid-" TODO: check if this affects UPSs. Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
Stefan Seyfried authored
a bluetooth mouse's battery might not have any Energy* properties (all zero), but a Percentage property, so it might be useful to show that. Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
Mikhail Efremov authored
Signed-off-by:
Eric Koegel <eric.koegel@gmail.com>
-
Sonal Santan authored
I have enhanced xfce4-power-manager to support backlit keyboard brightness control through keyboard brightness keys. It uses org.freedesktop.UPower.KbdBacklight interface for increasing or decreasing the keyboard backlight brightness and binds with keys XF86XK_KbdBrightnessUp and XF86XK_KbdBrightnessDown. This feature is useful when the firmware does not handle the keyboard brightness control automatically. For example MacBook Pro leaves it to the OS to control the keyboard brightness through special keys. With this change, I can light up the keyboard on MacBook Pro and control its brightness through the special keys. I have also tested this on Lenovo X1 Carbon where the keyboard brightness is automatically handled by the firmware and this enhancement steps aside without interfering.
-
Eric Koegel authored
xfpm_battery_refresh_icon incorrectly adds an additional dash to the icon prefix when the device is not a battery or a ups. Additionally, this patch correctly shows the icon when the device reports that it is charging. This patch only combines the patches submitted by Daniel Schubert and Dean Montgomery.
-