forked from external/yambar
module/battery: monitors battery state and capacity
This commit is contained in:
parent
be6429c852
commit
6a0385e294
4 changed files with 281 additions and 0 deletions
8
modules/battery/battery.h
Normal file
8
modules/battery/battery.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include "../../module.h"
|
||||
#include "../../particle.h"
|
||||
|
||||
struct module *module_battery(
|
||||
const char *battery, struct particle *label,
|
||||
int poll_interval_secs, int left_spacing, int right_spacing);
|
Loading…
Add table
Add a link
Reference in a new issue