File: collect_data.h

package info (click to toggle)
gkrellm-thinkbat 0.2.2-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, lenny, sid, squeeze, stretch, wheezy
  • size: 92 kB
  • ctags: 67
  • sloc: ansic: 336; makefile: 68
file content (11 lines) | stat: -rw-r--r-- 232 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#ifndef __THINKBAT_COLLECT_DATA__
#define __THINKBAT_COLLECT_DATA__

void read_battery_data();
int get_percent_remaining();
int get_time_remaining(int);
int read_from_file();
int get_ac_power();
float get_power_change(int);

#endif