Music streaming apps stop after 5 minutes when the phone is locked - Sprint Samsung Galaxy S8 Questions & Answers

So since I Updated to the s8 plus I have not been able to stream my usual local radio app kokefm or online streamimg websites for more than 5 Minutes when the decice is locked. After 5 minutes the stream pauses, and when I unlock the phone the stream resumes. I have checked to make sure background data is enabled for the apps, and no power saving is on. Anyone else having this issue?

I figured out how to fix it if anyone else has this problem.
Go to settings > device maintenance > battery. Then click on battery usage then the three dots on the top right and go to optimize battery usage. There you can change to all apps and turn off optimization for whatever apps are not streaming in the background. Seems kinda redundant since I already had the apps in the not monitored list and allowed background network data... atleast it's working now.

Android 7 has a feature called "Doze" that will make most apps go into a suspended state after the device is idle for a while. This is possibly what's making your music app stop. If your app has a Stay Awake function, you may want to enable it and just turn the screen brightness down instead of off.

I think the problem in settings, that's all... Do you use Spotify? It has become so popular because it gives users what they want. The user can stream music from any Android device. Having over 75 million users, Spotify is the most popular among them. What is the reason behind its popularity and how much does it cost to build an app like Spotify?

Related

[Q] App like Tasker or Llama

Hi.
Since coming from android I've been a frequent user of apps who lets the phone change it's settings due to specific triggers, like turning silent at night and loud in the morning, turning silent when a certain calendar happening occurs, turning of wifi when leaving home etc.
Is there anything like this for using along with windows phone?
Thanks in advance
Pemell
Actually, (some of) this is theoretically possible, but nobody has done it so far. It's also not going to be allowed on the Marketplace; you'd need to use some unofficial APIs.
For example, the DllImport Project already has shown the ability to control the phone's volume. Programmatically muting the phone at a certain time, for example one minute after a meeting is supposed to start, should be pretty easy.
The trick would be to make sure the phone also un-mutes it when the meeting ends. WP7 doesn't (officially) allow third-party software to run continuously in the background, and while you can schedule a time for the software to run, it make no guarantee ot to-the-minute accuracy. There are ways around the official restrictions, but most of them have serious battery-life considerations (although telling the process to sleep for the next 30 minutes * 60 seconds * 1000 miliseconds would probably work without draining battery). Additionally, I'm not sure how much access apps officially have to calendar data, although on interop-unlocked or full-unlocked phones there are varius ways to access that data.
For things other than volume control, like enabling or disabling WiFi (almost completely unneccessary on WP7, the WiFi power management is, if anything, too conservative already) you'd need to find the place in the OS that controls it. Probably just sending SetDevicePower to the Wifi driver would work to disable it, though I don't know if that would show up correctly in the UI.

How to make battery last longer

A common complaint among Android users is short battery life. As we all now, Google’s platform has numerous benefits, but state-of-the-art features and constantly being connected seem to come with one drawback: comparatively large battery consumption.
I don’t suggest that you should stop taking advantage of the things that make Android great, such as streaming music players that allow you to walk around with millions of songs in your pocket, location-aware apps, background updates or all the wireless options. Still, if you’re frustrated by how often you need to connect your charger, it’s good to know what types of apps and activities that eat the most battery, so you can make an active decision whether or not it’s worth the extra juice. Use the GPS Wisely
The GPS uses the battery like there’s no tomorrow. Location-aware software is one of Android’s many fortes, but they can be real battery drainers. The Power control widget is useful for switching the GPS on and off, and you should keep an eye on your notification bar: an icon will appear whenever the GPS is activated.
Turn off Bluetooth When You’re Not Using It
Perhaps an obvious tip, but it’s best to disable Bluetooth whenever you’re not actually using it. The quickest way to switch Bluetooth off and on is via a widget on your homescreen.
Disable Wireless Network Positioning
When your device learns your location via wireless network triangulation, it requires less battery than if it had used the GPS. But using both methods simultaneously will of course use the most power. The GPS can handle location tasks by itself, albeit a bit slower. Also, wireless network positioning is used to gather anonymous Google location data in the background, which will drain the battery further. You can turn it off from Settings > Location > Use wireless networks.
Switch off Wi-Fi, or Keep it Always On
If you’re close to a reliable WLAN during the better part of the day, having Wi-Fi always turned on may be favorable from a battery point of view, since the Wi-Fi radio uses less battery than the 3G radio. And when Wi-Fi is on, 3G is off. You can confirm Wi-Fi always stays on by going to Settings > Wireless networks > Wi-Fi Settings. Press the Menu button, tap on Advanced, Wi-Fi sleep policy and select the Never option.
On the other hand, if you’re not close to a strong Wi-Fi signal for extended periods of time, disable Wi-Fi from a homescreen widget or from Settings > Wireless networks > Wi-Fi. Disable Always-On Mobile Data
The Always-On Mobile Data option is on by default, and can be disabled from Settings > Wireless & networks > Mobile networks > Enable always-on mobile data. It allows your phone to be connected non-stop, but does it need to be? I have disabled the setting, and I still get push Gmail and even Google Talk seems to perform as usual, as well as the few apps I have that use automatic updates. However, if you have a lot of apps that regularly connect to the Internet, disabling this option may actually be a bad idea, since turning the data connection on and off will require more energy than simply having it on all the time.
Kill 3G if Your Phone Often Struggles to Find It
When your Android attempts to decide which signal to lock on to, it strains your battery. If your phone often switches between GSM and 3G in your area, it can be preferable to simply disable 3G altogether, and hence abolishing the need for your phone to try and find a suitable network. Go to Settings > Wireless & networks > Mobile networks > Network mode > GSM only. Use a Quick Screen Timeout
After a certain time of inactivity, your screen is automatically turned off, and that’s the Screen Timeout. To use such a low value as 15 seconds can be annoying, but one minute is on the other hand likely too long. I use 30 seconds. You can alter this option from Settings > Screen & display > Screen timeout. Turn Down the Screen Brightness
Android’s Automatic brightness (Settings > Screen & display > Brightness) setting is recommended. If your phone doesn’t have this option, set a reasonable value at roughly 30 % and see if that suits you.
Live Wallpapers Will Use More Power than a Static Background
Oh yes, live wallpapers can be awesome. But they will obviously use precious battery juice, albeit evidently not as much as one could think, talking the eye-candy into consideration and what they can do. Have an AMOLED Display? A Dark Wallpaper Will Spare the Battery
When having dark backgrounds, phones with AMOLED display will use less power, because each pixel on OLED screens is photoemissive and will actually generate its own light. Since there’s no need for a backlight, the pixel can essentially turn off its light source and go total black. As a result, you can save a teeny-weeny bit of energy by having a dark or black background on AMOLED screens. Use Widgets Wisely
A few days ago, we mentioned 10 cool homescreen widgets, and it’s great that Android supports them. Most widgets will only have a negligible effect on your battery life, but those that automatically pull info from the interwebs can be power hogs. Use Reasonable Intervals for Automatic Updates
I personally don’t need to have automatic updates on my phone, except for emails that I want to be notified of the moment they arrive. I prefer launching the apps at my convenience and see what’s new. Most applications that connect to the Internet have an option to update upon launch, and that’s all I need. By lowering the update intervals, or by even turning them off completely, you can definitely make your battery last longer. I recommend that you reduce them to your own minimum values.
If you have an Android phone with HTC Sense, you can make sure the HTC Mail Client, the HTC Weather App, Facebook, Flickr, Stocks and Twitter update themselves as often as you want them to. This is mainly done from Settings > Accounts & sync. It’s also a good idea to look over third-party apps that grab data from the Internet, particularly the official Facebook app and the various Twitter apps, since they usually have background updates on by default.
Streaming Apps Will Use a Lot of Battery
In a recent Droid vs Droid special, Andrew did a rundown of music streaming apps, and I certainly don’t think you should avoid this type of application on your phone. But bear in mind that software that stream audio and similar apps will use plenty of power. Learn What’s Been Drinking the Juice
Unless you have the doubtful pleasure of still running Cupcake, you can check out a built-in Android feature that tells you precisely how much your apps use the battery. You can then start using battery drainers less often, or simply uninstall them. Go to Settings > About phone > Battery > Battery use and press the items in the list for further info. You can also use JuicePlotter to analyze usage patterns.
I have gotten good results by making the tweaks and changes above, and I hope you will too. Do you know of any more tricks that can make our dear Android stay on his feet a bit longer before it needs to be charged? In case you don’t want to keep all this in mind, an app such as JuiceDefender is a good option
Use setcpu app or any other one that involves controlling CPU and set a profile to make your CPU very low(this one helps a lot but your gonna notice a little lag when your unlocking your screen)
Y U WANNA KNOW FROM WHERE SENT??
http://forum.xda-developers.com/showthread.php?t=1830576
And do not use task killer. I think it's one of the reason that drain your battery quickly
all pretty good tips.
I have a problem on my phone where the cpu will not enter deep sleep mode but im sure its my fault. It says the android system is taking alot of battery in battery usage.
I would highly suggest staying away from any task killing related software, they generally aren't good for Android and can lead to problems down the road. There's an application called Juice Defender on the Google Play store and it's been working for me. I can easily turn off battery hogs like GPS and 3G while your device is inactive.
Closed, redundant thread

[APP][2.x-5.x] [APK] BATTERY SAVER ULTIMATE

Overview
Battery Saver Ultimate application provides the best power settings to saves the battery time of your device or your tablet. Whenever the battery runs low or goes too much down, just tap the power saver app to turn on the saving mode.
Battery savers help you to switch off all the extra functions like WiFi, Bluetooth, GPS, sound and other energy consuming apps on the device. The app will notify when the power gets down in percentage and it even shows the charging stages.
Charging Stages:
Free Battery Saver Ultimate app regulates the manner in which your device is charged with a Unique 3 Stage Charging system to ensure you get the most out of your battery and reminds you not to over charge.
Types of Mode :
1. Saving Mode: (Use in lowest Battery Status)
Device Brightness set to 10%
In Activate WiFi of the Device
Stand By time to 15 seconds
2. Sleep Mode: (Use when you sleep)
Turn Off Call & SMS and turn ON the Flight Mode
Set Vibrations Off.
Airplane Mode.
Sound Off and mute media sound too.
Brightness set to 10% or minimum level.
3. Customized Mode
You can Customize app usages as your need to save Battery Power.
Can adjust the battery saving setting freely depend on your need and usage.
Can adjust WiFi, Bluetooth, vibration, sound, device brightness, synchronization and stand by time.
Features and Requirements
Accurate battery remaining time
Shows Standby Time.
Accurate charging remaining time
Schedule power saving modes for work/class/sleep and more!
3 Stage Charging system 1. Fast charge 2. Continuous Charging 3. Tickle Charging.
Wifi/Data/Bluetooth/GPS/Flight Mode toggle!
Brightness control!
Shows Battery Health, Current Battery Power in mAH, Temperature, Voltage and Battery life status.
Interesting app. I installed it on my tablet. Look up how it will work. Pity that application is not in material design...
Can I say dodgy app here full of ads and nothing as you say it is. Gives me to play games and full of ads. Avoid
Looks very Good though
Full of ads, nothing like advertised. Avoid.
mr_stax123 said:
Looks very Good though
Click to expand...
Click to collapse
Please state more
i want to prevent apps to auto start to save battery and ram, which app should i use, grrenify or autorun manager or any other?
First, you need not concern yourself with free ram on an Android device. Android manages resources better by itself. As for the apps that launch on startup, you can got to menu>settings>apps and select the "running" tab to show you exactly what is really running. Then, the easiest way is to uninstall the app in question.
Automated task killers do nothing but cause more problems than they can potentially solve.
You might find this thread enlightening.
mr_stax123 said:
i want to prevent apps to auto start to save battery and ram, which app should i use, grrenify or autorun manager or any other?
Click to expand...
Click to collapse
The task killer discussion gets old. I think there is risk of oversimplifying both sides. ie on one side people want to treat it like pc...not correct. On the other side people seem to imply any discussion of memory management considerations is irrelevant/rejected because "android will handle it all"....which is not always entirely correct either. The latter may be closer to the truth especially for new devices, but there is still room for middle ground. Not all programs are equal, some launch "services" which takes priority over other app processes. Too many of those services can eventually crowd out cache and slow your phone down. Maybe most people with newer phones will never get there, but there are still people with older phones (including the op for all we know) and also some folks with new phones who (if they listen to the oversimplifications) may get carried away on the number and type of apps they install over the life of their phone
---------- Post added at 12:47 AM ---------- Previous post was at 12:43 AM ----------
Even so, killing off those services is not the answer. If an older phone has too many running services so it taxes it's resources then it's either time to uninstall some or get a device that can handle it. If it's a problem with the app itself hogging resources, then let the developer know and find an alternative.
If you try to tow a boat with a bicycle, the answer isn't to throw away the boat's engine to make it lighter. Similarly, a task killer may make the phone's performance improve briefly, but over time it will make things worse. And it fixes nothing.
An app preventing another app from "auto-starting" is a task killer. Look at it this way: The phone boots up and runs it's processes. The auto-start blocker detects an app it doesn't want to run, so it kills it. Now, depending on what app it is, the phone may call for it again and thus running it later, which defeats the purpose of an auto-start killer, unless that app is a task killer which again kills said flagged app to keep it killed.
The way to properly manage an app you don't want to have enabled on the phone at bootup is to disable the app on the system manager (newer phones have it AFAIK), freeze the app via Titanium or similar apps, get into the app settings and disable certain features like auto-sync and set everything to manual.
However, the OP did not specify what phone and which apps. It may be apps which the phone requires to run at some level, like Maps (which several apps call for), or maybe the apps he is seeing are just RAM cached, which really don't matter at all.
Adjusting with app settings is preferred if you can, but does not always solve the problem (I referred to wakelock/battery drain problem with a certain version of Maps on my previous phone ... many people we having the same problem at the time and the only way to stop it was to block the app from starting as indicated in link below, or else to freeze it). Freezing has the disadvantage that you cannot run the program easily (requires you to launch TiBu to thaw the program). If you have blocked the program from autostarting, then it does not start at boot or other automatic time, but it remains available to manually launch the normal way (clicking the program icon). At that point (if it's a program like Maps), it will probably stay running until next reboot. It was my preferred solution when maps was giving me wakelocks and battery drain on my phone. Maps didn't run automatically on boot and never started until I manually started it. After that point I could live with the battery drain or reboot
Rom Toolbox Pro is a great app with many features and of course, there's an auto start manager that allows you to disable various receivers off the apps that start on boot. There's also a freeze/deep freeze feature as well. Great app

Pixel 4a Android 11 - stop killing/pausing background app ?

Hi all,
I have a Pixel 4a with stock Android 11 (up to date, no root, with Nova Launcher).
I have a rowing machine that comes with an app (ErgData, by concept2) that can connect to the machine via bluetooth or via usb cable: while rowing the app logs the workout data (like pace, heart rate etc).
I wanted to do the following: watch a video while the ErgData app logs my workout, so I started ErgData, connected it to the rower, configured the workout and, once ready to start rowing, I switch to the video player and start rowing.
It worked fine a bunch of times, but one day it stopped working: at the end of the workout (like after 20-30min), when I switch back to ErgData the app is in its default screen (like the one you get at startup) and it has logged nothing. When connecting via bluetooth, the app has also lost the connection to the rower. When connecting via usb the connection is there but the app has still logged nothing.
Things I've done:
disable battery optimization for ErgData, Bluetooth and Bluetooth MIDI
disable adaptive battery
use a different media player (android built-in, VLC)
uninstall / reinstall ErgData
clear Bluetooth storage/cache
disabled "Suspend Execution for Cached App" (developer mode)
No joy.
I tried a different app (ErgZone) and it has the same behavior.
I tried staying with ErgZone foreground for 3min before switching to the video player and in that case, ErgZone logged something, but not the totality of the workout.
So it really seems that somehow, when I switch to the video player, ErgData / ErgZone gets "paused" (killed ? cached ?).
Anything I can try ? Anything the app developers should do to prevent this ?
Thanks !
Sorry for the late response, I normally dont browse this forum. I am rooted and always have been, so all the solution I have used in the past are dependent on root. However, one idea to try is checking if the background app is killed while the phone is plugged into a charger? I know that being plugged in keeps the phone awake even when the screen is off.
HornetMaX said:
So it really seems that somehow, when I switch to the video player, ErgData / ErgZone gets "paused" (killed ? cached ?).
Anything I can try ? Anything the app developers should do to prevent this ?
Click to expand...
Click to collapse
Does the ErgData/Zone app start a persistent notification when recording? That's the way to keep a service running in the background. I had a phone with a tendency to kill anything not in the foreground, but it never killed active apps (including background with persistent notification).
If the app dies despite this, there may be a hint in the logcat. You have to enable developer mode to fetch that.
a1291762 said:
Does the ErgData/Zone app start a persistent notification when recording? That's the way to keep a service running in the background. I had a phone with a tendency to kill anything not in the foreground, but it never killed active apps (including background with persistent notification).
If the app dies despite this, there may be a hint in the logcat. You have to enable developer mode to fetch that.
Click to expand...
Click to collapse
No, ErgData/ErgZone do not have a persistent notification. Guess that's a potential solution then.
At the moment my workaround is to use the "pop-up" feature of VLC so that I have the video on top of the other app (ErgData/ErgZone), so that the other app stays foreground. That works, but it's not a real solution.
Hmm they gave me a beta version of the app with the persistent notification thingy and it works perfectly.

The phone is very prone to killing background apps like music I'm listening to. How to make it stop?

Ever since the most recent updates, especially the Android 13 one (stock), I can't seem to multitask with this phone (A51). Browsing one or two websites with chrome it's too much for the poor thing, and decides to cut off background apps that I explicitely told him not to cut off.
So while browsing after a while Spotify crashes, Adguard crashes, the music player crashes, the youtube vanced playback crashes etc.
I don't have any launchers or actually use many apps, I have one messaging app and a social network installed but for everything else I try to use Chrome in order to save memory storage and give them a little less data.
It seems as if battery optimization is having a hard time with my phone (and I explicitely told it not to can Adguard, yet it still does), when it didn't use to. Any ideas? My phone's ram is constantly at 50% full, so there should be space for a few webpages. I disabled Samsung SmartRAM.

Categories

Resources