Skip to content

FROMLIST: power: supply: qcom_battmgr: stop faking battery presence on Glymur & X1E80100 - #1530

Open
raryan-qcom wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
raryan-qcom:battery-presence-glymur-hamoa
Open

raryan-qcom wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
raryan-qcom:battery-presence-glymur-hamoa

Conversation

@raryan-qcom

Copy link
Copy Markdown

The qcom_battmgr driver unconditionally reports the battery as present for Glymur and X1E80100 variants, even if the battery is actually removed.

Fix this by fetching the BATT_PRESENT property via the BATTMGR_BAT_PROPERTY_GET opcode from battery firmware. While continue assuming the battery is present for SC8280XP platforms.

Link: https://lore.kernel.org/all/20261121-batt-pres-fix-v1-1-2e8b2cc98a1e@oss.qualcomm.com/

CRs-Fixed: 4679180

…n Glymur & X1E80100

The qcom_battmgr driver unconditionally reports the battery as present for
Glymur and X1E80100 variants, even if the battery is actually removed.

Fix this by fetching the BATT_PRESENT property via the
BATTMGR_BAT_PROPERTY_GET opcode from battery firmware. While continue
assuming the battery is present for SC8280XP platforms.

Link: https://lore.kernel.org/all/20261121-batt-pres-fix-v1-1-2e8b2cc98a1e@oss.qualcomm.com/
Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No Change Task Found

No associated change tasks found for CR 4679180 on any of the following entities:

Entities:

  • kernel.qli.2.0

CR: 4679180

Please ensure the CR has a change task associated with at least one of the entities for this branch.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Merge Check Failed: No Change Task Found

No associated change tasks found for CR 4679180 on any of the following entities:

Entities:

  • kernel.qli.2.0

CR: 4679180

Please ensure the CR has a change task associated with at least one of the entities for this branch.

raryan-qcom please take care of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants