sudo gainroot mkdir temp cd temp apt-get install -d batterypatch # press y after that and make sure you did apt-get update before with devel-enabled mv /var/cache/apt/archives/batterypatch* ./batterypatch dpkg -x batterypatch ./ rm -r /opt/dbus-scripts mv dbus-scripts /opt chmod -R +rwx /opt/dbus-scripts mv etc/dbus-scripts.d/* /etc/dbus-scripts.d/ cd .. rm -r temp