is there a way to get the Battery object in chrome pop up windows
I am using this code to create pop up
chrome.windows.create({'url': 'mypop.html', 'type': 'popup'}, function(window) {
});
but having problem to return the battery object using this code
var battery = navigator.webkitBattery;
when I am calling the javascript file on the mypop.html page.
Is it the chrome security issue that disallow battery object on pop up page?