iPhone XS Max restarts if it doesn't charge
So my cellphone likes to restart itself when in use, if not while it's charging, and if it's not charging it will restart itself even when it's idle, but the strange thing is that if I don't leave my cellphone idle and don't charge it, it doesn't restart.
I have tried to replace the battery with a new battery but the problem is still the same.
Below I have the Crash Log, maybe there is further input or direction for me to improve my cellphone
{"bug_type":"210","timestamp":"2025-08-21 11:29:55.00 +0700","os_version":"iPhone OS 18.6 (22G86)","roots_installed":0,"incident_id":"5D9CB1A6-05FE-4569-9487-A1CEBFACDE52"}
{
"build" : "iPhone OS 18.6 (22G86)",
"product" : "iPhone11,6",
"socId" : "8020",
"socRevision" : "11",
"incident" : "5D9CB1A6-05FE-4569-9487-A1CEBFACDE52",
"crashReporterKey" : "d11c865c682881b8e1398612f166dd12f6e356ad",
"kernel" : "Darwin Kernel Version 24.6.0: Tue Jul 15 21:53:59 PDT 2025; root:xnu-11417.140.69~16\/RELEASE_ARM64_T8020",
"date" : "2025-08-21 11:29:55.51 +0700",
"panicString" : "panic(cpu 2 caller 0xfffffff0162817b8): "i2c0::_checkInterrupts error interrupt; last read status 10810100 int shadow 00890100 xfer 80000000 fifo 00000003 for device ad5860" @AppleS5L8940XI2C.cpp:503\nDebugger message: panic\nMemory ID: 0xff\nOS release type: User\nOS version: 22G86\nKernel version: Darwin Kernel Version 24.6.0: Tue Jul 15 21:53:59 PDT 2025; root:xnu-11417.140.69~16\/RELEASE_ARM64_T8020\nFileset Kernelcache UUID: 25DC6EAC2FB376C9F08CA4F8570B8CF1\nKernel UUID: F960EF84-B35E-3AF9-87AE-D6E399CE13BA\nBoot session UUID: 5D9CB1A6-05FE-4569-9487-A1CEBFACDE52\niBoot version: iBoot-11881.140.96\niBoot Stage 2 version: \nsecure boot?: YES\nroots installed: 0\nPaniclog version: 14\nKernelCache slide: 0x000000000cf9c000\nKernelCache base: 0xfffffff013fa0000\nKernel slide: 0x000000000cfa4000\nKernel text base: 0xfffffff013fa8000\nKernel text exec slide: 0x000000000ddd8000\nKernel text exec base:
please help me, i am very depressed :))
THANK YOUU !!!
crwdns2934109:0crwdne2934109:0