depends what's doing the auto-suspend. if it's sleepd (https://www.oesf.org/forum/index.php?showtopic=25223) you can use sleepctl
I think xset has a setting for that.