phragment/tp-battery-icon — pull request #3 by schuschu (2012-10-09 11:30:05+00:00)
Title: ACPI for Sandy/Ivybridge Thinkpad models

This patch adds support for models no longer completely supported by the smapi.
* It requires acpi\_call and [tpacpi-bat](https://github.com/teleshoes/tpbattstat-applet) installed
* tpacpi-bat in PATH
* user read/write permissions for /proc/acpi/call.
* To enable support use the -a or --acpi parameter.
* This patch also fixes some minor errors when setting the thresholds

**Tested only on thinkpad x220 (sandybridge)**

For Archlinux one could use [tpbatstat](http://aur.archlinux.org/packages.php?ID=54293), but it does not place the script in the right directory.