Dmesg showing SOC stuck

5.14.1-1-MANJARO-ARM
Hi all. I came across this log after the most recent update to the Pinebook Pro. Any thoughts on this. Is it anything to worry about?

mesg | grep “SoC stuck”
[26667.789330] cw2015 4-0062: SoC stuck @59%, resetting gauge
[28492.359154] cw2015 4-0062: SoC stuck @68%, resetting gauge
[32907.489826] cw2015 4-0062: SoC stuck @73%, resetting gauge
[36047.500864] cw2015 4-0062: SoC stuck @75%, resetting gauge

That’s just a warning:


	/* Reset gauge if stuck while charging */
	if (cw_bat->status == POWER_SUPPLY_STATUS_CHARGING && soc == cw_bat->soc) {
		int max_stuck_cycles =
			CW2015_BAT_CHARGING_STUCK_MS / cw_bat->poll_interval_ms;

		cw_bat->charge_stuck_cnt++;
		if (cw_bat->charge_stuck_cnt > max_stuck_cycles) {
			dev_warn(cw_bat->dev,
				 "SoC stuck @%u%%, resetting gauge\n", soc);
			cw_power_on_reset(cw_bat);
			cw_bat->charge_stuck_cnt = 0;
		}
	} else {
		cw_bat->charge_stuck_cnt = 0;
	}

so no, you don’t need to worry because:
Fear is the path to the dark side: fear leads to anger, anger leads to hate, hate leads to suffering… :wink:

I have not been able to repeat this warning message. A search of dmesg finds no sign of “Soc stuck”. This post needs no further action at this stage.

Maybe it depends on how you charge the device.

Was it the same method in both situations?

As your original question is answered, I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

:innocent:
P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.