Starting with Firefox 52, websites may no longer access the API so that it can no longer be used for tracking purposes. Mozilla will keep the API open to extensions and Firefox itself however.
About:config
dom.battery.enabled
Double-click the preference to set it to false.
__________________________________________________
http://www.ghacks.net/2016/12/28/firefox-52-better-font-fingerprinting-protection/