Does battery depend on apps? Iphone 7?

Hi, i have iphone 7 256 Gb, its battery is very weak. I charge 3 times a day. I have 180 applications and i have ios 11. Does battery depends on apps? Like the more i have apps the less battery backup it will give? I just use 10 apps.

Blisp

No, not directly.

It does depend on how many you leave running in the background; you should alway "kill" apps after finishing with them - double click the home button then flick them off screen.

It also depends on how many installed ones have location services enabled. You can turn that on & off for individual apps in the phone settings - disable it or switch it so it's only enabled when the app is in use, and only enable at all for things that you benefit from having location.

The other (very rare) occasional problem is a software bug or corrupt operating system update. It is possible for the power management system to get messed up; it happened with one of mine (an iphone 6) only a few weeks after I got it.
The only cure for that is a full backup via itunes, then a "DFU restore" (which does a complete "clean install" of the phone OS), then restore your backup to get everything as it was.