I haven't researched into what effect it could have, but I'd definitely check first.
If it was safe...then it's definitely less likely to get you in trouble than stomping the 'dipshits' speaker into scrap!
What emergency services are you contacting with Bluetooth or wifi (or any 2.4ghz signal) when out on a hike?