I used to have a script that runs via cron every 5 mins, checks the remaining battery and suspends.
However many of my ThinkPads make so much noise when the battery is low that I simply didn't really need it.
Did he say why he felt it was insecure? However, a script like yours could very well be started by cron, so you don't have to do it manually. It's not difficult either, seeksiu said:sys admin told us cron is not secure and banned us from using it
man cron
and man crontab