Commit 5f29023e authored by roangel's avatar roangel
Browse files

added trial to fix the battery label not updating

parent ceadb856
......@@ -277,10 +277,11 @@ void MainWindow::updateBatteryVoltage(float battery_voltage)
m_battery_voltage = battery_voltage;
// Need to take voltage, display it and transform it to percentage
int percentage = (int) fromVoltageToPercent(m_battery_voltage);
// int percentage = (int) fromVoltageToPercent(m_battery_voltage);
QString qstr = "Raw voltage: ";
qstr.append(QString::number(battery_voltage, 'f', 2));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment