It will not start and says alarm system service required on 2006 Volvo S40

It occurs sometimes when I try to start the car. It acts like a dead battery and won't start.

1 answer
Similar thing happened to my car, alarm service required has been on for a couple months and it occasionally won't start. Now all my sensors have gone haywire and Volvo hasn't figured out the problem after a week... What was wrong with your car in the end?