diff --git a/sumorobot.js b/sumorobot.js index 15932b5..1aded82 100755 --- a/sumorobot.js +++ b/sumorobot.js @@ -57,7 +57,7 @@ Sumorobot.prototype.connect = function() { var battery = JSON.parse(data)["battery_voltage"]; battery = Math.round((((battery - 3.0) * 100) / (4.2 - 3.0))); $("#battery").html(battery + "%"); - $("#bar").html("Battery"); + //$("#bar").html("Battery"); $("#bar").addClass("connected"); }; /* when there is an WebSocket error */