![](https://lemm.ee/pictrs/image/0e8708a4-91b4-4791-8c0b-ca4f06c190d9.webp)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
On my previous laptop, the trackpad had a bug that made it spam interrupts after waking up from sleep. It ruined battery life and basically kept one core at 100% permanently.
So I duct-taped a systemd script that unbound and bound the trackpad after each wake up.
#!/bin/sh
case "$1" in
post)
echo -n "i2c_designware.0" > /sys/bus/platform/drivers/i2c_designware/unbind
echo -n "i2c_designware.0" > /sys/bus/platform/drivers/i2c_designware/bind
;;
esac
Came here to post that.