aboutsummaryrefslogtreecommitdiffstats
path: root/inc/jo_lowbat.hpp
blob: a03c33633cd4e294ed51811f83e3a6df3fdcdb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef JO_LOWBAT_HPP
#define JO_LOWBAT_HPP

#include <string>
#include <cstdint>

using namespace std;

class Lowbat {
public:
	uint8_t			jo_testAcpi(void);
	int				jo_fetchBatlvl(void);
	int				jo_notify(void);
	int				jo_speak(const string);
	static string	jo_exec(const char*);

private:
	string	m_batlvl;
};

#endif