1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-26 18:02:35 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
kopecdav
7d3d2e877f refactor(core): add power manager api comments
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
b97d05247c fix(core/prodtest): fix power off led signalization
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
2e23349419 feat(core/prodtest): limit charging in prodtest to 70% SOC
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
278a09f4c5 fix(core): improve robustness of device power on check
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
c63ff3bf44 feat(core): implement reboot command to bypass button check
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
c89ca35bbc feat(core): event polling for power manager
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
6e82c2415f refactor(core): refactor power manager syscalls
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
0cd38186bf fix(core): adjust to powerctl->power manager transition
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
48ef573649 refactor(core): remove recursion from power manager state machine automat
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
a530fb2c76 feat(core): add pm_charging_set_max_current function to API
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
e1e6d77ba5 feat(core): update fuel gauge parameters + agressive regions at charging profiles boundry
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
56c55cf69d feat(core): add charging profiles forced bounderies [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
46272a854e fix(core) fuel gauge not updated while charging is IDLE.
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
4b9fb839cd refactor(core): split pmic as a separate feature
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
58e31be4ec feat(core): add power_state into prodtest pm_report
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
892a1b8171 style(core): fix cstyles [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
f31e190795 feat(core): disclose full power manager state machine to app [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
6ba574cd82 feat(core): add pm stabilization in init function [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
f050136abb feat(core): store fuel gauge covariance into backup ram [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
ac65d1f59d chore(core): put soc recovery inside the pm_init [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
b3e76e557e fix(core): fix async pmic variable reading [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
17031852cf feat(core): add pm_wait_until_active function [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
704bf3ed7c feat(core): improve power_manager backup ram data check [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
7acac1a0fd fix(core): remove reduntant store to backup ram function [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
63b374067c fix(core) fix fuel gauge sampling period calculation [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
3beebe5956 fix(core): remove ULTRA_POWER_SAVE and STARTUP_REJECTED states, improve battery low state detection [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
19948372c7 feat(core): extend power manager backup ram data with battery critical flag
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
8e7d5a2a01 chore(core): unify prodtests under power_manager
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
39c5c9b068 feat(core): remove powerctl, transfer all subordinate libraries into power manager
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
68d26f0c79 fix(core): fix styles
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
79f53f0c45 feat(core): add store_data_to_backup function
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
32e28246c7 feat(core): introduce power_control.c with hibernate function
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
ae92ae09d5 feat(core): integrate data recovery from backup ram
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
ebbe158dea feat(core): change event/state report structure
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
737526f431 feat(core): remove error event
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
5dd7fe334a refactor(core): rename REPORT_LOW_BATTERY state to REJECT_STARTUP
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
9c8db0bcba refactor(core): rename power_manager items to shorter pm
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
6745cf01a5 feat(core): add battery SoC into power manager report [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
020b0ab3f6 feat(core): Add charging enable/disable functions [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
90468a2220 feat(core): add power manager to revison C [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
311a8f8d7c feat(core): Add Fuel gauge estimator into power_manager
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
936b46fa71 feat(core):Introduce charging controller [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
32fea3855a feat(core): Introduce power_manager library [no changelog] 2025-05-30 14:04:45 +02:00