Ignore, already answered my own question. The old dumb phones had hardware alarms, so when the phone was powered down, the alarm could still operate and wake up the phone.
I use TASKER to manage when the sounds/notifications are on and the phone is always plugged in from when I go to bed till when I get up, so this isn't a problem.