Drone randomly turns off when running a simple script

Hi,

My drone started acted really weird. when I try to run a simple script, it just randomly turns off

Hello @ladadulina,

Could you please provide a bit more context?
Are you working with a physical drone or a simulation?
What kind of script are you using, Olympe or something else?
Could you share your logs?

Best regards,
Hugo

yes, I am using a physical drone. I realized that script is definitely not a problem. Even when I connect it to Freeflight, drone just randomly turns off. The battery is fully charged

Hello,

It’s kind of a weird situation indeed.
Did anything happen to the battery, like a shock, water exposure, or anything unusual?
Also, could you check that the battery is properly clipped in and that the contacts are clean?

To better assist you, could you please share your log.bin file ?

Thanks,
Hugo