Insane battery consuming

I am using m4 macbook max
cursor application consuming battery insanely.
Please check the screenshot.

Have you got the shadow workspace enabled? That might be the culprit.

I found the cause, that was Kotlin Extension
I figured it out from my colleague and turned it off.
Now it’s fine.