diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-14 15:01:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 15:01:22 +0100 |
commit | 09e5877ff5cd72b684bceddab8c203cc897dbb6c (patch) | |
tree | d613d6898a36bc3688ce23d58f5dace262b39a84 /platform/haiku/os_haiku.cpp | |
parent | 415a901b685997c8949b9705ef5b8fe6eaeda613 (diff) | |
parent | 3dea5fd631c9513ed09b876f25e8bf6deff49683 (diff) | |
download | redot-engine-09e5877ff5cd72b684bceddab8c203cc897dbb6c.tar.gz |
Merge pull request #36212 from akien-mga/remove-battery-power-api
Remove incomplete battery status/power API
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
-rw-r--r-- | platform/haiku/os_haiku.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp index 2e4bb2ff26..a082ba53f9 100644 --- a/platform/haiku/os_haiku.cpp +++ b/platform/haiku/os_haiku.cpp @@ -360,18 +360,3 @@ String OS_Haiku::get_cache_path() const { return get_config_path(); } } - -OS::PowerState OS_Haiku::get_power_state() { - WARN_PRINT("Power management is not implemented on this platform, defaulting to POWERSTATE_UNKNOWN"); - return OS::POWERSTATE_UNKNOWN; -} - -int OS_Haiku::get_power_seconds_left() { - WARN_PRINT("Power management is not implemented on this platform, defaulting to -1"); - return -1; -} - -int OS_Haiku::get_power_percent_left() { - WARN_PRINT("Power management is not implemented on this platform, defaulting to -1"); - return -1; -} |