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

#include "battery.h"

struct battery_powerbook {
	struct battery battery;

	struct fileaccess *info_file;
	struct fileaccess *stat_file;

	int on_ac;
	int max_charge;
	int charge;
};

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