The other solution is to write an externs
file, which is a JavaScript file that contains references to all the objects and methods whose names you want to preserve. In this case, the JS file would look something like this:
//resources/externs/navigator.js
navigator = {}
navigator.battery = {}
navigator.battery.level = function(){};
And you'd refer to it in your ClojureScript complier options as:
:externs ["resources/externs/navigator.js"]
Like Sirko's proposed solution, this will prevent advanced-mode compilation from munging the navigator.battery.level
name.