Fix sysfs paths in battery helper script.