We had a guy on the PD who left his off duty gun unattended in the squad car. When the next guy coming on duty checked the car out, he found the gun.
The officer in question got a letter of repremand and TEN days off without pay. He's damn lucky he didn't get fired, because that was discussed.
So, if a cop in your town leaves their sidearm in a rest room (or someplace else) unattended, and all they get is "written up" it's not an issue of "double standards" it's an issue of poor management practices at that particular police department . . .
You can only learn from experience if you pay attention!