diff options
author | Michele Calgaro <[email protected]> | 2022-02-08 23:22:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-02-10 22:47:05 +0900 |
commit | 4112c3b48633dac80afbe219fd9f4ee85b2be3d3 (patch) | |
tree | a6ef7ba4f2e1f1e76b19884ba935983f6aebd8a3 /src/hardware_battery.h | |
parent | 0120940b40e727c89441e9d46e3e05af8a2f0263 (diff) | |
download | tdepowersave-4112c3b48633dac80afbe219fd9f4ee85b2be3d3.tar.gz tdepowersave-4112c3b48633dac80afbe219fd9f4ee85b2be3d3.zip |
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/hardware_battery.h')
-rw-r--r-- | src/hardware_battery.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/hardware_battery.h b/src/hardware_battery.h index 36bf68c..f250700 100644 --- a/src/hardware_battery.h +++ b/src/hardware_battery.h @@ -32,11 +32,6 @@ #ifndef _BATTERY_H_ #define _BATTERY_H_ -// Global Header -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - // QT - Header #include <tqstring.h> #include <tqstringlist.h> @@ -282,16 +277,6 @@ public: //! reports the chargelevel in percent when battery goes to state critical int getCritLevel() const; - //writeable access to internals - //! Resets the current TDE hardware library udi used by the one given - /*! - * The given TQString will be (checked and) used as new TDE hardware library udi for the battery. - * But don't forget to do a recheck of the battery afterwards. - * \li returns TRUE: if reset was successfull - * \li returns FALSE: if reset couldn't be applied - */ - bool resetUdi(TQString); - //! sets the chargelevel in percent when battery should go into state warning void setWarnLevel(int _warn_level); //! sets the chargelevel in percent when battery should go into state low @@ -336,8 +321,7 @@ enum BAT_STATE { BAT_WARN, BAT_LOW, BAT_CRIT, - BAT_NORM, - BAT_HAL_ERROR + BAT_NORM }; #endif |