From 0a2290653ba6c6361baed9d317e6bc8fee52d6c2 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 31 Oct 2016 17:50:16 +0100 Subject: nwztools/plattools: rework/clean and add an all-in-one tool This new tool (all_tools) embeds all the other tools and provides a menu to choose which one to run. Change-Id: I0e07864dd46559a7079b0f942c25155e6fa07112 --- utils/nwztools/plattools/nwz_lib.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utils/nwztools/plattools/nwz_lib.h') diff --git a/utils/nwztools/plattools/nwz_lib.h b/utils/nwztools/plattools/nwz_lib.h index 5e1640a70e..90d122003a 100644 --- a/utils/nwztools/plattools/nwz_lib.h +++ b/utils/nwztools/plattools/nwz_lib.h @@ -158,4 +158,11 @@ int nwz_power_get_acc_charge_mode(int fd); /* is battery fully charged? (or -1 on error) */ int nwz_power_is_fully_charged(int fd); +/* open pminfo device */ +int nwz_pminfo_open(void); +/* close pminfo device */ +void nwz_pminfo_close(int fd); +/* get pminfo factor (or 0 on error) */ +unsigned int nwz_pminfo_get_factor(int fd); + #endif /* _NWZLIB_H_ */ -- cgit v1.2.3