No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Daemon controlling entering and leaving deep suspend.


Android uses wakelocks to know when the device can enter a deep sleep mode. We have to correctly handle and integrate this into the existing webOS system which doesn't know anything about wakelocks. Therefor this daemon will be started by sleepd which will then block until wakelockd exits. wakelockd will handle entering the suspend mode and detect possibe wakeup reasons like power key pressed or an incoming telephony call.


If you want to contribute you can just start with cloning the repository and make your contributions. We're using a pull-request based development and utilizing github for the management of those. All developers must provide their contributions as pull-request and github and at least one of the core developers needs to approve the pull-request before it can be merged.

Please refer to for information about how to contact the developers of this project.

How to Build on Linux


Below are the tools and libraries (and their minimum versions) required to build telephonyd:

  • cmake (version required by openwebos/cmake-modules-webos)
  • gcc 4.6.3
  • glib-2.0 2.32.1
  • make (any version)
  • libevdev 1.0
  • pkg-config 0.26


Once you have downloaded the source, enter the following to build it (after changing into the directory under which it was downloaded):

$ mkdir BUILD
$ cd BUILD
$ cmake ..
$ make
$ sudo make install

The directory under which the files are installed defaults to /usr/local/webos. You can install them elsewhere by supplying a value for WEBOS_INSTALL_ROOT when invoking cmake. For example:

$ cmake -D WEBOS_INSTALL_ROOT:PATH=$HOME/projects/openwebos ..
$ make
$ make install

will install the files in subdirectories of $HOME/projects/openwebos.

Specifying WEBOS_INSTALL_ROOT also causes pkg-config to look in that tree first before searching the standard locations. You can specify additional directories to be searched prior to this one by setting the PKG_CONFIG_PATH environment variable.

If not specified, WEBOS_INSTALL_ROOT defaults to /usr/local/webos.

To configure for a debug build, enter:


To see a list of the make targets that cmake has generated, enter:

$ make help


From the directory where you originally ran make install, enter:

$ [sudo] make uninstall

You will need to use sudo if you did not specify WEBOS_INSTALL_ROOT.

Copyright and License Information

Unless otherwise specified, all content, including all source code files and documentation files in this repository are:

Copyright (C) 2014 Simon Busch

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA