        name: 'gpu',
            data: {{ gpu_charts.gpu }}
        }])
    }

    function initBatteryCharts(){
        var battery_chart = new ApexCharts(document.querySelector("#chart-battery"), options('line'));
        battery_chart.render();
        battery_chart.updateSeries([{
            name: 'temperature',
            data: {{ battery_charts.batteryTem }}
        },{
            name: 'current',
            data: {{ battery_charts.batteryCurrent }}
        },{
            name: 'voltage',
       