The first issue with maglocks especially, but any strike/lock will be emergency egress, which in all cases, should be some sort of mechanical pushbutton to break power (mags specifically). Strikes and locks are generally easier because usually the door hardware is selected to allow a physical action (turn knob/lever) for egress in an emergency. All the AHJ's I deal with want the emergency egress to be independent of any electronic hardware/action. They also want, in addition to a mechanical button, a fire alarm dropout so the door(s) unlock in that situation as well.
I've seen mags forced by a person and a shoulder exceeding the shear load of the lock, which isn't the same as the bond load. All it takes is a little side load on a maglock and it will not hold the same as a direct bond load, which is what is given in the LB ratings of the lock.
I am not referring to the current draw in relation to an electric bill, because honestly, that isn't a concern as far as a security install goes.
The factor is whether you are running 24VDC or 12VDC, but as most people will tend to stay with a 12VDC unit in a residence to simplify the amount of hardware installed and compatibility with other items , a typical maglock will draw upwards of 350mA or more off a supply, constant load. Factor in the oversizing needed based on voltage drop due to cabling distance installed, you're already around 500mA to be safe, if not larger. That'll put you in a minimum of a 1A supply, which a 7AH battery will get you about (without doing hard calcs.) approximately 5-6 hours of true standby. Also factor in that most "lower end/cost" power supplies lose about a volt in the switch from an AC powered, rectified DC operation to DC-DC operation, your standby time is even less than what I stated before.
Then you're moving up to a larger supply, both cost and charger rating, just to support the batteries to provide enough standby time...if it's a couple of 7AH in parallel or a couple of 26AH or larger.
Maglocks have their application, but in this case, a strike or electromechanical lock would be easier to implement and more secure in comparison to a maglock.
I'm not saying it can't be done, but you need to be aware of all the factors in consideration when using/installing maglocks.