Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions docs/kb/laptop-power-limit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Laptop power limits

This article describes how power limiting works on Dasharo firmware for laptops.

## Power sources

A laptop may be powered from AC, or from battery. Each of these two has a limit
on how much power it can provide.

- AC barrel jack: Depends on the wattage of the included power supply
- USB-PD: Depends on the wattage rating of the specific power supply being used,
and on the contract that was negotiated between the laptop and power supply
- Battery: Depends on the maximum discharge rate specified by the manufacturer
and on charge level

The Embedded Controller must observe what sources of power are present and
adjust platform power limits accordingly.

To limit power, the CPU is throttled using the Psys power limit mechanism. This
ensures that the power draw does not exceed the limit, by proactively throttling
CPU performance.

## AC power limit

This limit is a minimum of:

- Power supply wattage x estimated power conversion efficiency
- Maximum current rating of the input power rail
- Wattage of the included AC power supply

## DC power limit

This power limit is a minimum of:

- Battery capacity x 1C discharge rate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1C? 1 cell?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C as in C-rate: https://batteryuniversity.com/article/bu-402-what-is-c-rate

1C = complete discharge in 1 hour

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add the link, e.g.:

Suggested change
- Battery capacity x 1C discharge rate
- Battery capacity x [1C discharge rate](https://batteryuniversity.com/article/bu-402-what-is-c-rate)

- Maximum current rating of the battery power rail
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ nav:
- 'Capsule Update Configs': kb/capsule-updates-configs.md
- 'PCR Measurements': kb/pcr-measurements.md
- 'NovaCustom dev setup': kb/laptop-dev-env.md
- 'Laptop power limits': kb/laptop-power-limit.md
# - 'Trolling Topics List':
# - 'Introduction': osf-trolling-list/osf_issues_taxonomy.md
- 'FAQ':
Expand Down