I am building a watchOS app with iOS companion app.
The watch app needs to track the heart rate during the night or while user is sleeping. And the desired frequency of measurement is 0.2Hz (every 5 seconds)
For this I am using the HKWorkout mode with mindAndBody session.
While it works fine, One of the main issue is: after about 6-7 hours of usage, the battery on the watch drains between 40% (Series 9) and 100% (series 7, I think)
My questions:
Are there any other option to track user's heart rate without workout, while the app could be in background?
Another side effect of this workout mode is, Even if we choose not to save the workout in HealthKit, the Activity rings gets populated by this mindAndBody session, which makes it when the user is waking up, the bar is already full, This is not desired.
Is there any option to specify for ActivityRing skips this?
Highly appreciate any help in advance.
Cheers - Prakash
Posts under Battery Life tag
37 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
Recently after the update of iOS 18.0.1 my iPhone 15 pro max drains very fast if I'm in normal usage only at one day i.e. on 19th of October I checked my battery health it shows me 99% as of today i.e. 30th October it is 96% I'm bit confused is there any issue like this to anyone i would like to know.And is there any solution for this?
In October the 9th I had 97% battery health and after not even a month (on the 28th October) my battery health went down to 94%. Anyone knows why ? I haven’t been using my phone more or charging it more than usual.
using an iPhone 15 pro max.
This is really concerning !!! 3% in less than a month?
I recently bought a new iPhone SE and transferred all of my data. I want to keep the old iPhone and have removed most of the Apps. However when I charge it fully at night, the battery is almost dead the following morning. This was not the case before I bought the new phone. When I check the battery app, it doesn't indicate any use that would explain why the battery is almost exhausted.
I bought my phone on April 1st week, 2024. In September battery was 96% cycle count 260. Now after 1 month battery health is 90% in cycle count 300. I am using my phone everyday4-5 hours and maitaining 20-80 charging. I didn't play any kind of games in my device. My question is why apple claim 1000 cycle count and 80% will be? And how to solve this issue?
I have an iphone 15 pro, it’s only 4 months old and the battery health has dropped by 2%(98% now).
I don’t let my battery drop below 25% and change only to 80%. I use an original apple charger and cable.
The total battery cycle count is only 117.
I don’t understand why it’s dropping so quickly.
Can anyone help ?
Thanks
What are the possible KPI requirements set by Apple AI for cellular networks, e.g. regarding latency, throughput or jitter?
What is the expected effect on iPhone energy consumption?
Since installing WatchOS 11 on my ultra 2, the battery life has decreased significantly. This morning alone (in the space of 4 hours) It has dropped 23%. This isn’t normal for my watch to drop that much in such a short period of time. I’m wondering if there is a setting somewhere that has turned itself on with the update and causing the watch to use the sensors more, shot in the dark.
I have also noticed the watch is recording more exercise minutes (when not in a workout) than it did previously before the OS 11 update.
We've been using our app for the past year, and a user came back today that after three minutes, their phone starts getting hot and the screen dims. He is using 17.6.1 with an iPhone 14 max. No one else is seeing an issue, but with the posts online about 17.6.1 battery drain, I wonder if our AR app is somehow more sensitive to the issue.
So , i have bought my Iphone 15 in the release week . Since the beginning i’ve noticed some overheating but i brushed it off since so many people were having it , but i still feel like it overheats especially when using the camera and making calls. 10 months later , my battery health is at 88% at 308 cycles , which would be 1 charge per day . Im worried its dropping too fast tbh and i wanted to know if this is normal .
Hi, I’ve had my iPhone 13 for a year now and all of a sudden the battery health has dropped to 81% I’m clueless with phones can someone tell me if this is bad? Is the phone broken? Is there a way of fixing this that’s not going to cost me a fortune. Thank you
Hi, we have an iOS VPN app that uses NEPacketTunnelProvider.
One of the Metrics that we track in XCode Organizer is Battery Usage (On-Screen Battery Usage, Background Battery Usage).
Could you clarify:
Does Battery Usage statistics in XCode combine app's and active tunnel's battery usage or just the app's battery usage?
When the app is not active and not in background, but VPN tunnel is active, does this reflect in Battery Usage statistics per app versions?
Hello there
I recently upgraded my iPhone 15 to ios 18 public beta which led to battery drain issues even during overnight around 10-15%. Besides this I am facing heating while just clicking photos in broad daylight
at just 28-32 degree tem. So any solutions to my issues…
Since I have updated to iOS beta 3, my device (iPhone 5 plus) charge getting drained faster than usual and getting hotter while using social media applications also
My AppleCare is about to expire (a week) and I am experiencing 1% battery health decrease every 10 days or so. I use my iPhone 14 pro max lightly, and usually full charge it every 2 days. Followed all the tips that Apple recommends to maintain battery health, all of them did not work.
Went to Apple store to get it fixed, but I have to pay out out pocket because it is now 94% and not eligible for AppleCare coverage that is supposed to be 79% or less. Suggestions would be appreciated on what should I do to get the battery replaced with my coverage.
thank you
I installed beta a month ago and imy battery life changed from 100% to 93% in one week, how is that possible?
And my battery last barely half a day.
It seems like I must buy new phone now…
I'm developing an app where users can select items to add to a screen, similar to creating a Canva presentation or choosing blocks in Minecraft. However, I'm encountering an issue with energy usage. When users click the arrows to browse different items, the energy use spikes significantly. Although it returns to normal after a while, continuous clicking causes the energy use to skyrocket. The images I'm using are 500x500 pixels. Ideally, I would like to avoid caching all the images, as the app might have up to 500 items and caching them all would consume too much memory. I have tried numerous way to avoid this but I just can’t seem to make it work. Would anyone know how to avoid such problem?
I have included a picture of the energy use when just opened, and one after like 10 seconds of continuously clicking on an arrow to see more items. Also a picture of how the app looks.
struct ContentView: View {
struct babyBackground {
var littleImage = ""
}
@State var firstSet: [babyBackground] = [
babyBackground(littleImage: "circle"),
babyBackground(littleImage: "square"),
babyBackground(littleImage: "triangle"),
babyBackground(littleImage: "anotherShape"),
babyBackground(littleImage: "circle"),
babyBackground(littleImage: "square"),
babyBackground(littleImage: "triangle"),
babyBackground(littleImage: "anotherShape")
]
@State var secondSet: [babyBackground] = [
babyBackground(littleImage: "circle"),
babyBackground(littleImage: "square"),
babyBackground(littleImage: "triangle"),
babyBackground(littleImage: "anotherShape"),
babyBackground(littleImage: "circle"),
babyBackground(littleImage: "square"),
babyBackground(littleImage: "triangle"),
babyBackground(littleImage: "anotherShape"),
babyBackground(littleImage: "circle")
]
@State var thirdSet: [babyBackground] = [
babyBackground(littleImage: "circle"),
babyBackground(littleImage: "square"),
babyBackground(littleImage: "triangle"),
]
let columns: [GridItem] = Array(repeating: .init(.flexible()), count: 4)
func createBackgroundGridView(for backgrounds: [babyBackground], columns: [GridItem] ) -> some View {
LazyVGrid(columns: columns, spacing: 10) {
ForEach(0..<backgrounds.count, id: \.self) { index in
Button(action: {
}, label: {
if let path = Bundle.main.path(forResource: backgrounds[index].littleImage, ofType: "png"), let uiImage = UIImage(contentsOfFile: path) {
Image(uiImage: uiImage)
.resizable()
.frame(width: 126, height: 96)
}
})
}
}
.padding()
}
@State var indexOn = 0
var body: some View {
HStack{
Button(action: {
indexOn = (indexOn == 0) ? 2 : indexOn - 1
}) {
Label("", systemImage: "arrowtriangle.left.fill")
.font(.system(size: 50))
}
Spacer()
ScrollView {
switch indexOn {
case 0: createBackgroundGridView(for: firstSet, columns: columns)
case 1: createBackgroundGridView(for: secondSet, columns: columns)
case 2: createBackgroundGridView(for: thirdSet, columns: columns)
case 3: createBackgroundGridView(for: thirdSet, columns: columns)
default: createBackgroundGridView(for: firstSet, columns: columns)
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
Spacer()
Button(action: {
indexOn = (indexOn == 2) ? 0 : indexOn + 1
}) {
Label("", systemImage: "arrowtriangle.right.fill")
.font(.system(size: 50))
}
}
}
}
Energy Use when app starts:
Energy use after clicking for about 10 seconds:
App UI:
I haven’t figured out a way to have my phone automatically restart between the hours of midnight and 6am when the battery reaches 100%. Is there a way to do this?
Hello…!
I have bought an iPhone from flipkart on 07/10/2023 Which is around 10 months old and my battery health is decreased that is 89% I am facing issue of battery draining and phone heating while charging the phone.
Please solve my query what i have to do
I am observing my phone battery draining and in last 7 months my battery health has been degraded from 100% to 87%. after each ios17 release it is getting worse even after applying all battery optimizing things.
looks like Apple is doing it intentionally to boost up his latest phones and as a customer we dont have any options