Commit Graph
32 Commits
Author SHA1 Message Date
phillip fdd59a83e3 Reset batttery charge in coloumbs on charge completion 2025-02-16 20:44:58 +01:00
phillip 21f313af5c Fix "adc1 already in use!" log spam. 2025-02-16 19:18:20 +01:00
phillip fd1be4ffeb Improve Power State Update Task timing 2025-02-16 19:17:36 +01:00
phillip a48dd7c9dd Safeguard serial error prints 2025-02-16 13:08:25 +01:00
phillip b410338109 Improve naming 2025-02-16 12:22:23 +01:00
phillip 33c23cb4f8 Update picking of next current allowance to take more than one outstanding allowance into consideration 2025-02-16 12:19:38 +01:00
phillip 7a7139360c Fix mistakes 2025-02-16 02:04:02 +01:00
phillip 5efa7a5efd Rename Power.* to PowerManager.* for clarity 2025-02-16 01:10:33 +01:00
phillip 5cb25a412a Increase voltage moving average filter window from 10 values to 20 values 2025-02-14 21:19:36 +01:00
phillip 83674657b8 More processing of charge state 2025-02-14 21:09:04 +01:00
phillip e6c7454e5b Replace discharge curve with measured one. 2025-02-14 21:08:37 +01:00
phillip 2b57f300f2 Fix VUSB_SENS input mode. 2025-02-14 21:07:05 +01:00
phillip f753fdcc9b Add user-facing battery current calculation and fix logging 2025-02-14 13:46:50 +01:00
phillip 264e37c983 Add RAII-wrapped Mutexes for access to state-tracking variables 2025-02-14 12:00:31 +01:00
phillip 35c11f42e2 Minor fixes 2025-02-13 22:57:23 +01:00
phillip 598ac75e32 Change approach of notifying of power problem to be more beginner friendly 2025-02-13 21:34:27 +01:00
phillip 115b0e0679 Add power state initialisation 2025-02-13 21:12:40 +01:00
phillip b0068333c8 Fixes 2025-02-13 00:54:03 +01:00
phillip c130026f00 Handle denials of power appropriately 2025-02-12 22:59:13 +01:00
phillip 21f7d9ae8a Behaviour clarification 2025-02-12 22:08:18 +01:00
phillip e5ff1e7610 Group non-independent sensors 2025-02-12 21:24:57 +01:00
phillip 6611fba2dc Allow release of reserved current regardless of the reservation having been granted 2025-02-12 20:39:59 +01:00
phillip 4bfae98f6b Integrate Communication into Power Management 2025-02-12 18:07:41 +01:00
phillip d64579eca4 Complete proxy functions in Power.h and refactor (mainly reorder) for clarity. 2025-02-12 17:42:22 +01:00
phillip 8617f420a2 Add special case for small power requests 2025-02-12 16:27:54 +01:00
phillip c63935a413 Add power modeling and scheduling based on thesis 2025-02-12 16:09:40 +01:00
phillip b44538b473 Add Power Scheduler 2025-02-11 23:33:19 +01:00
phillip e747b9d10b Add data gathered from measurement results 2025-02-11 20:11:54 +01:00
phillip fbe205035e Added wrapper for PowerScheduler 2024-12-22 22:07:54 +01:00
phillip 915ad85526 Remark about architecture. 2024-12-18 12:12:04 +00:00
phillip 51a3d9e8f6 Power management progress 2024-12-12 17:09:13 +01:00
phillip 8eeb829a91 Add existing code: Power consumption test cases and Semaphore power scheduler skeleton 2024-11-24 23:09:46 +01:00