With laptop-mode-tools 1,07: lm_battery.sh loops on line 12 when reading configuragion with this line: . /usr/sbin/laptop_mode loadconfig Checking /usr/sbin/laptop_mode reveals 'loadconfig' is not the correct option, it should be readconfig I believe: . /usr/sbin/laptop_mode readconfig This has fixed the looping problem at least.
This is fixed in upstream version 1.08, thanks for noticing. --Bart
Added app-laptop/laptop-mode-tools-1.08 to portage. Thank you for reporting this.