Hawke's Bay Hospital remains on an alternative mains electricity supply after a power outage forced emergency department staff to use torches on Saturday, when the hospital's back-up system failed.
Kevin Atkinson, chairman of both the Hawke's Bay District Health Board and lines company Unison Networks, said a switch to hospital back-up generators was working during routine testing in December and it was possibly a software fault that caused the problem.
After the mains electricity supply failed, the switch "kept clicking in and clicking out" for seconds at a time during the outage from 11.45am to 1.04pm.
"It should always run for at least 15 minutes, regardless for how long the power outage is," he said.
The back-up failure should be easy to solve but the switch that caused the initial failure was more of a mystery - it was used worldwide with no problems reported, he said.