We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

Xperia X powers on automatically when connected to charger and gets stuck in infinite boot loop on depleted battery

asked 2020-06-17 23:31:44 +0300

Flox gravatar image

Since 3.3.0 (maybe even since 3.2.1, not sure as maybe I didn't hit the problem for a while) my Xperia X gets stuck in an infinite boot loop when connecting to (most) chargers with empty battery. The only way to break this vicious circle is currently a very specific charger/cable combination.

It's caused by a new behaviour. As soon I plug a charger into the deactivated phone, it boots automatically to Sailfish OS, instead of the charging screen as before. While connected to a charger, it even immediately reboots unasked if it's shut down manually. As stated this happens probably since 3.3.0, but I didn't find that mentioned in the release notes of either 3.3.0 or 3.2.1 and also found no configuration option).

What this leads to:

  • As soon as I connect the empty device to the charger, it self-activates
  • It continues to boot completely, even allowing me to log into the system, just to immediately warn of 0% battery and shutting down
  • As soon as it shuts down, it automatically activates... repeat
  • This continues for hours if not observed

It happens on various chargers and a power bank I have all used successfully before (and still use with other devices). Only one "magic" charger is still working to start the phone, and only with one of my USB cables it seems. Paradoxically all of them are rated 5V-2A, the power bank 2.1A.

I assume the early automatic immediate boot uses too much power and throws the system back into shutdown. The "magic" charger may just have the little bit extra power output to maintain operation and keep charging a bit during that phase with the lowest resistance cable, weird as it seems.

If I manage to charge the system to 100% (with the "magic charger"... :-( ), the battery life is about 1-1,5 days of usage, so no excessive consumption.

Side note: The automatic boot is a bad feature, at least if its not configurable, as a weak charger (500mA) may well be able to charge the device overnight, but not well support it in operation. Also one may wish to charge faster with the system powered down. And I really like to decide myself when the system is firing up and when not. There ought to be an option to turn it off, and it should evaluate if there is enough power from the charger to support the device.

The phone also even reboots immediately if I shut it down with the charger connected. It will stay down if I shut it down during battery operation though.

Is this even a feature, or is my system disfunctional? Anyone else? If this is a feature, how the do I get rid of it?

edit retag flag offensive close delete

Comments

Same here. But, with Xperia X only. Not XA2 and XA2plus with same cables and charger/PC. This is a showstopper when you are abroad...

A.Maretzek ( 2020-06-18 01:17:44 +0300 )edit

Same with X 10 plus, not with X 10. I tried resetting phone, even flashing the SF rom. No change. It also only happenes with 3.3

apozaf ( 2020-06-18 19:15:31 +0300 )edit

I suspect that the battery has to be very low in order to reproduce. I discharged running stuff, then, after shutdown, I had to power on several times in order to get conditions to reproduce the effect.

A.Maretzek ( 2020-06-19 00:23:26 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2020-06-18 13:34:32 +0300

spiiroin gravatar image

The significant odd bit is: "it boots automatically to Sailfish OS, instead of the charging screen as before."

Which could be due to misinterpreted power on reason / something going wrong during shutdown -> device makes regular bootup instead of going to act-dead mode for charging only.

The rest is / can be expected to be hw features / behavioral logic inherited all the way from n900 misfiring as a direct result of whatever is causing that to happen.

Any chance that yóu could enable persistent journal and grab couple bootup-shutdown sequences in such boot loop? And perhaps a bootup with that charger that does work.

edit flag offensive delete publish link more

Comments

I guess you should tell how to enable persistent journaling/boot logging as to be honest I would not know how...

peterleinchen ( 2020-06-18 14:51:12 +0300 )edit

On N900 it never happened to me afair but on N9 yes. But I guess only after having it set into R&D mode with flasher. N950 always did it (which I hated).
But it was always booting up and charging.

peterleinchen ( 2020-06-18 14:55:31 +0300 )edit

I can do that with an Xperia X...

A.Maretzek ( 2020-06-18 21:57:05 +0300 )edit
1

In "/etc/systemd/journald.conf" (need root):

Storage=persistent
SystemMaxUse=500M

Then:

systemctl restart systemd-journald.service
A.Maretzek ( 2020-06-18 22:01:25 +0300 )edit

Thanks for the instructions! I'll see if I can record a few loops on the weekend. Reproduction is trivial enough...

Flox ( 2020-06-18 23:25:13 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2020-06-17 23:31:44 +0300

Seen: 327 times

Last updated: Jun 18 '20