IATA lithium-ion battery shipping rules make it pretty clear that packages containing Li-on batteries have to be clearly identified using warning labels. There are also limits to number of battery packs and Ah capacities in packages. If you've ordered anything with a Li-on battery in the last couple of years that was shipped by air, it should have had a warning label on it that looks like https://uline-h.assetsadobe.com/is/image/content/dam/images/...
That is the responsibility of the packer.
edit: just noticed that the article mentioned lithium batteries rather than li-on batteries, but the rules are similar. See http://www.iata.org/whatwedo/cargo/dgr/Documents/lithium-bat... for more info.