I wonder if the phone has an auto volume off feature after no sound plays after n minutes? I have an app on my mac called AutoMute that does similar, but it just mutes my mac whenever my headphones get disconnected.
Forces volume on speaker to stay at zero unless temporarily disabled or headphones are connected. Works great.