Find a file
Alberto Villa 71ba27a7ea freebsd: Fix lid detection on FreeBSD
UPower sets property LidIsPresent to true only if hw.acpi.lid_switch_state
is different from "NONE", "NONE" being the default value for FreeBSD.
Thus, the property is always false on default configurations.

Force UPower not to care about the value of the sysctl, making it check
only for its existence.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175531

https://bugs.freedesktop.org/show_bug.cgi?id=101828
2017-09-08 15:38:25 +02:00
dbus all: Add BatteryLevel property 2017-04-06 16:33:38 +02:00
doc Share generated code between daemon and library 2015-07-29 13:38:13 +01:00
etc etc: Update IgnoreLid documentation 2015-11-12 16:38:42 +01:00
libupower-glib lib: Fix API docs for *-level properties 2017-09-08 06:55:54 +02:00
m4 Use PIE to better secure installed tools and also use full RELRO in the daemon 2013-05-07 14:07:31 +01:00
po Remove QoS interface 2013-10-14 10:42:55 +02:00
rules linux: Don't talk to HID++ devices ourselves 2017-01-23 15:27:33 +01:00
src freebsd: Fix lid detection on FreeBSD 2017-09-08 15:38:25 +02:00
tools up-tool: Exit early when connecting to upower fails 2016-05-18 14:58:53 +02:00
AUTHORS trivial: add my copyright 2008-09-06 11:12:24 +01:00
autogen.sh Use upstream gettext instead the glib one 2011-07-19 12:16:30 +01:00
configure.ac trivial: post release version bump 2017-07-24 13:24:17 +01:00
COPYING trivial: Rename a few 'DeviceKit-power' strings we missed 2010-05-28 15:00:07 +01:00
git.mk Use git.mk and remove the manual .gitignore files 2011-07-19 12:40:21 +01:00
HACKING Fix links to git repository in HACKING 2010-12-27 10:26:18 +01:00
Makefile.am rules: Fix distcheck'ing not being able to install udev rules 2015-09-23 17:18:46 +02:00
NEWS Released UPower 0.99.5 2017-07-24 13:23:07 +01:00
README Update README 2016-02-17 17:01:16 +00:00
RELEASE trivial: post release version bump 2017-07-24 13:24:17 +01:00
upower-glib.pc.in lib: Remove dbus-glib from the dependencies 2013-10-14 10:42:56 +02:00

===============
UPower
===============

Requirements:

   glib-2.0             >= 2.34.0
   gio-2.0              >= 2.16.1
   gudev-1.0            >= 147    (Linux)
   libusb-1.0           >= 1.0.0  (Linux)
   libimobiledevice-1.0 >= 0.9.7  (optional)

UPower is an abstraction for enumerating power devices,
listening to device events and querying history and statistics.
Any application or service on the system can access the
org.freedesktop.UPower service via the system message bus.