Commit Graph

18 Commits

Author SHA1 Message Date
Deis Dupeyron
b46908bdbc src/battery.cpp: fix getTimeRemaining for energy_now 2022-10-11 14:37:20 +02:00
Alessandro Toia
056f7b0e29 Check if battery status is full 2022-02-13 14:40:04 -08:00
FlightlessMango
39f6ae98ec Battery remaining time 2022-02-09 05:20:59 +01:00
jackun
5767426192
Nope, ERROR level has higher priority, doh 2021-08-07 16:27:16 +03:00
jackun
c79e01830d
Clean up battery.{h,cpp} header includes 2021-08-07 16:02:37 +03:00
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time 2021-07-27 16:16:39 +03:00
jackun
2f807a4c0d
Add spdlog wrap and logging 2021-07-16 04:06:09 +03:00
Alessandro Toia
0bc6d33a24 Fix frame spikes when using battery parameter 2021-06-19 19:57:07 -07:00
FlightlessMango
226330c0d7 Battery: assume unknown status is charging 2021-06-11 20:38:30 +02:00
Alessandro Toia
105ad9c2be Check for batteries only once 2021-05-27 15:40:33 -07:00
Alessandro Toia
a533883a39 Check if there are battieres before attempting to retrieve stats 2021-05-27 15:40:33 -07:00
Alessandro Toia
8960a54813 Change battery path list to array 2021-05-27 15:40:33 -07:00
Alessandro Toia
6833ee3593 Check if battery(s) are fully charged 2021-05-27 15:40:33 -07:00
Alessandro Toia
6c69f68f7f Iterate over n batteries to find energy consumption 2021-05-27 15:40:33 -07:00
Alessandro Toia
e63a5bd472 Iterate over n batteries to find percent 2021-05-27 15:40:33 -07:00
Alessandro Toia
c6074b0f4d Check if there are batteries before checking if they are charging 2021-05-27 15:40:33 -07:00
Alessandro Toia
1ab25220c6 Add param to check battery power and percent 2021-05-27 15:40:33 -07:00
FlightlessMango
a90c897feb Check battery info 2021-05-27 15:40:33 -07:00