summaryrefslogtreecommitdiffstats
path: root/backend/battery_class.h
blob: 6ca6c554696ca337757f9821105c4608a58550c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef BACKEND_BATTERY_CLASS_H_
#define BACKEND_BATTERY_CLASS_H_

#include "battery.h"


struct battery_class {
	struct battery battery;

	int on_ac;
	int charge_max;
	int charge_now;

	char *ac_online_filename;
	char *charge_max_filename;
	char *charge_now_filename;
};

#endif /* BACKEND_BATTERY_CLASS_H_ */
bues.ch cgit interface