Using too much battery on iPhone 14 when running in the background
- Dominant language
- C
- Stars
- 20.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Yesterday night, I executed the command below to run iSH in the background:
```bash
cat /dev/location > /dev/null 2> /dev/null &
```
Then I slept.
I'm using ```iPhone 14```. I remembered, the battery of my iPhone is $64$% yesterday night. But when I woke up, **there is only $20$% battery.**
I also have an ```iPad``` (7th generation), and I also ran iSH on it in the background. But it only used $8$% battery through the whole night.
**Why does iSH use so much battery on iPhone 14? How to set a memory limit?**
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `cat /dev/location > /dev/null 2> /dev/null &` in iSH on an iPhone 14, then compare overnight battery and background behavior with the iPad 7th generation report. No files or tests are named; done means identifying the cause of the battery difference and determining whether a memory limit can be supported or documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, ios
- Domain
- mobile-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100