mobiles in libraries

I thought libraries were meant to be places of peace and quiet? So how come people are allowed to bring their mobiles in AND then stick them on loud at the bottom of the handbag so the entire library can listen to the first 3 bars of some slightly recognisable “pop” song 10 times?