From e66e5075a0b42c902c9bbc628ab3c8006a261144 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Tue, 10 Nov 2009 15:46:54 +0100 Subject: batsys: import battery widget that uses sysfs Initial widget code was sent by Benedikt Sauer. After some cleanup it is ready to go into master. It uses data exposed trough /sys and it is used in the exact same way as the bat widget (and /proc). This widget will replace batat and acpitool, it will be moved to contrib and retired. --- README | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README') diff --git a/README b/README index f545247..91b6dfe 100644 --- a/README +++ b/README @@ -165,6 +165,7 @@ vicious.widgets.uptime vicious.widgets.bat - provides state, charge, and remaining time for a requested battery + using procfs - takes battery ID as an argument, i.e. "BAT0" - returns 1st value as state of requested battery, 2nd as charge level in percent and 3rd as remaining (charging or discharging) @@ -177,6 +178,14 @@ vicious.widgets.batat level in percent, 3rd as remaining (charging or discharging) time, 4th as state of the second battery etc. +vicious.widgets.batsys + - provides state, charge, and remaining time for a requested battery + using sysfs + - takes battery ID as an argument, i.e. "BAT0" + - returns 1st value as state of requested battery, 2nd as charge + level in percent and 3rd as remaining (charging or discharging) + time + vicious.widgets.mem - provides RAM and Swap usage statistics - returns 1st value as memory usage in percent, 2nd as memory usage, -- cgit v1.2.3