#pragma once

// local includes
#include "bobbydisplaywithtitle.h"

class BatteryGraphDisplay : public BobbyDisplayWithTitle {
    using Base = BobbyDisplayWithTitle;

public:
    std::string text() const override;
    void initScreen() override;
    void redraw() override;

    void buttonPressed(espgui::Button button) override;

    static void drawBatteryCurve();

private:
    float m_lastBatVoltage{0};
};
