Re: [PATCH 0/2] qcom_battmgr: Add batteryless DC-adapter MAINS support

From: Konrad Dybcio

Date: Tue Jun 30 2026 - 10:21:55 EST


On 5/22/26 12:56 AM, Bjorn Andersson wrote:
> On Tue, May 19, 2026 at 12:29:38PM +0530, Rakesh Kota wrote:
>> On Mon, May 18, 2026 at 04:36:32PM +0200, Konrad Dybcio wrote:
>>> On 5/18/26 3:49 PM, Rakesh Kota wrote:
>>>> On batteryless boards powered by 12V DC adapters, registering the
>>>> power supply as BATTERY causes userspace to incorrectly trigger
>>>> battery power-saving sequences.
>>>
>>> Does battman really offer no way of differentiating whether a battery
>>> is *actually* present in such cases?
>>>
>>> What boards are affected?
>>>
>> Currently, batteryless support is only implemented for the
>> qcs6490-rb3gen2(Kodiak) board.
>>
>
> What do you mean?
>
> Are you saying that the pmic_glink firmware in Kodiak has a one-off hack
> that no other implementation of this firmware has?
>
> My Lenovo IdeaCentre (hamoa) doesn't have battery, what should I do now?

I was going through my inbox.
This remains unanswered, and I don't see the discussion progressing
without resolving this.

Konrad