From e2e8dd9603e332b83e5f1e4936cfb88758ee973b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 6 Sep 2011 10:02:04 +0100 Subject: Add the website sources to git In the case of a hit-by-a-bus event... --- doc/website/common.css | 92 ++++++++++++++++++++++++++++++++++++++++++++ doc/website/img/battery.png | Bin 0 -> 11809 bytes doc/website/index.htm | 59 ++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 doc/website/common.css create mode 100644 doc/website/img/battery.png create mode 100644 doc/website/index.htm (limited to 'doc') diff --git a/doc/website/common.css b/doc/website/common.css new file mode 100644 index 0000000..9884477 --- /dev/null +++ b/doc/website/common.css @@ -0,0 +1,92 @@ +/* common.css - MoinMoin Default Styles + + Copyright (c) 2001, 2002, 2003 by Jürgen Hermann +*/ + +/* content styles */ + +html { + background-color: white; + color: black; +} + +h2 { + font-size: 1.6em; +} + +h3 { + font-size: 1.3em; +} + +h4, h5, h6 { + font-size: 1em; +} + +li p { + margin: .2em 0; +} + +li.gap { + margin-top: 8pt; +} + +a img { + border: 0; +} + +img.drawing { + border: 0; +} + +dt { + font-weight: bold; +} + +pre { + padding: .5em; + white-space: pre-wrap; +} + +body { + margin-top: 2em; + margin-left: 5%; + margin-right: 5%; +} + +h1, h2, h3, h4, h5, h6 { + color: #2b5e82; +} + +a:link { + background-color: inherit; + color: #2b5e82; +} + +a:visited { + background-color: inherit; + color: #52188b; +} + +pre { + border: 1px solid #CBCBCB; + background-color: #FFF8ED; + color: black; +} + +hr { + clear: both; + border-style: none; + background-color: #CBCBCB; + color: #CBCBCB; +} + +td { + border: 1px solid #999999; +} + +p.footer { + color: #000000; + text-align: center; + font-size: 9px; +} + diff --git a/doc/website/img/battery.png b/doc/website/img/battery.png new file mode 100644 index 0000000..6d3d1f2 Binary files /dev/null and b/doc/website/img/battery.png differ diff --git a/doc/website/index.htm b/doc/website/index.htm new file mode 100644 index 0000000..4c4b375 --- /dev/null +++ b/doc/website/index.htm @@ -0,0 +1,59 @@ + + + + + + +UPower + + +

UPower

+

+[image of a battery] +

+

+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. +Some operations (such as suspending the system) are restricted using PolicyKit. +

+

+UPower was +once called DeviceKit-power. +UPower aims to make a large chunk of HAL redundant, as HAL is officially +deprecated. +

+

+UPower is also useful to control the + +latency of different operations on your computer, +which enables you to save significant amounts of power. +Nothing much uses this interface yet, but this is a classic chicken and egg scenario, +and I think it's important to encourage the egg to lay a chicken. +Please report any problems to the +DeviceKit +mailing list. +

+

+Documentation is available here. +

+

+Releases are available here. +

+

+The source is managed using Git. +You can browse the +repository using cgit or clone it using the following command: +

+
+$ git clone git://anongit.freedesktop.org/upower
+
+ + + + -- cgit v1.2.1