bat: added a note about Apple PMU and ACPI/procfs

This commit is contained in:
Adrian C. (anrxc) 2010-02-20 04:33:27 +01:00
parent 23d09f0c5d
commit b96cb98352
4 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,7 @@ module("vicious.bat")
-- {{{ Battery widget type -- {{{ Battery widget type
local function worker(format, batid) local function worker(format, batid)
-- Apple PMU and ACPI/procfs battery widgets are in the [contrib] branch
local battery = helpers.pathtotable("/sys/class/power_supply/" .. batid) local battery = helpers.pathtotable("/sys/class/power_supply/" .. batid)
local battery_state = { local battery_state = {
["Full\n"] = "", ["Full\n"] = "",

View File

@ -21,7 +21,7 @@ local function worker(format, cpuid)
local governor_state = { local governor_state = {
["ondemand\n"] = "", ["ondemand\n"] = "",
["powersave\n"] = "", ["powersave\n"] = "",
["userspace\n"] = "@", ["userspace\n"] = "¤",
["performance\n"] = "", ["performance\n"] = "",
["conservative\n"] = "" ["conservative\n"] = ""
} }

View File

@ -1,8 +1,9 @@
--------------------------------------------------- ---------------------------------------------------
-- Licensed under the GNU General Public License v2 -- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2010, Rémy C. <shikamaru@mandriva.org> -- * (c) 2009, Rémy C. <shikamaru@mandriva.org>
-- * (c) 2010, Benedikt Sauer <filmor@gmail.com> -- * (c) 2009, Benedikt Sauer <filmor@gmail.com>
-- * (c) 2009, Henning Glawe <glaweh@debian.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com> -- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
--------------------------------------------------- ---------------------------------------------------

View File

@ -1,7 +1,6 @@
--------------------------------------------------- ---------------------------------------------------
-- Licensed under the GNU General Public License v2 -- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2010, Henning Glawe <glaweh@debian.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com> -- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
--------------------------------------------------- ---------------------------------------------------