Repository navigation
FROMLIST: power: supply: qcom_battmgr: stop faking battery presence on Glymur & X1E80100 - #1530
Open
raryan-qcom wants to merge 1 commit into
Open
raryan-qcom wants to merge 1 commit into
raryan-qcom wants to merge 1 commit into
Conversation
…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>
raryan-qcom
requested review from
a team,
Dmitry Baryshkov (lumag),
Mukesh Ojha (mukeshojha-linux) and
yijiyang
November 25, 2026 06:10
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4679180 on any of the following entities: Entities:
CR: 4679180 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
Shiraz Hashim (shashim-quic)
requested changes
Nov 26, 2026
Shiraz Hashim (shashim-quic)
left a comment
There was a problem hiding this comment.
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.0CR: 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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