Trackpad turns off after an hour of use

After booting (either from shutdown or sleep), the trackpad works perfectly fine. However, after about an hour, it suddenly stops working and doesn't detect any input. How could I fix this?

submitted by /u/GamingWithAlan
[link] [comments]