GithubHelp home page GithubHelp logo

dirkam / backgroundable-android Goto Github PK

View Code? Open in Web Editor NEW
293.0 29.0 33.0 9 KB

Collection of stock apps and mechanisms, which might affect background tasks and scheduled alarms.

License: MIT License

android battery background alarmmanager job-scheduler battery-saving auto-startup

backgroundable-android's Issues

Intents for a few devices

Thanks for maintaining this very useful resource. I'd like to contribute some notes about intents for opening power management apps on a few devices:

Huawei Ascend Y330 (Android 4.2.2, EmotionUI 2.0):

am start com.huawei.systemmanager/.power.HwPowerManagerActivity opens power saving section of system settings/battery section of Phone Manager. From there, "Protected apps" opens list of protected apps and "Bkgd power-intensive apps" opens list of power-intensive apps.

am start com.huawei.systemmanager/.optimize.process.ProtectActivity opens list of protected apps directly.

am start com.huawei.systemmanager/.power.PowerConsumeBackgroundActivity opens list of power-intensive apps directly.

am start com.huawei.systemmanager/.optimize.bootstart.BootStartActivity opens list of apps that can run at system boot.

am start com.huawei.systemmanager/.optimize.ProcessManageActivity opens list of apps currently running in the background. Apps can be selected and killed.

Huawei P8 Lite 2015 (Android 5.0.1, EMUI 3.1):

am start com.huawei.systemmanager/.power.ui.HwPowerManagerActivity opens power saving section of system settings/Phone Manager. From there, "Protected apps" opens list of protected apps and "Power-intensive apps" opens list of power-intensive apps.

am start com.huawei.systemmanager/.optimize.process.ProtectActivity opens list of protected apps directly.

Huawei P8 Lite 2017 (Android 7.0, EMUI 5.0.1):

am start com.huawei.systemmanager/.power.ui.HwPowerManagerActivity opens battery section of system settings/Phone Manager. From there, "Close apps after screen lock" opens lock screen cleanup list, and "Power-intensive apps" opens list of power-intensive apps.

am start com.huawei.systemmanager/.optimize.process.ProtectActivity opens lock screen cleanup list directly. This works the same way as the protected apps list on older versions of EMUI, but it's a blacklist rather than a whitelist.

Samsung Galaxy J3 2016 (Android 5.1.1):

am start com.samsung.android.sm/.ui.battery.BatteryActivity opens battery section of system settings. From there, "App optimisation > Detail" opens list of apps that will be killed after 3 days in the background without being used.

Sony Xperia Z3 Compact (Android 6.0.1):

am start -a android.settings.BATTERY_SAVER_SETTINGS opens battery section of system settings. From there, "Menu > Battery optimisation" opens list of protected apps.

Vivo Y11 (Android 4.4.4, Funtouch OS 2.0):

am start com.iqoo.secure/.MainGuideActivity opens iManager app. From there, "Power manager" opens battery settings and "App manager > Autostart manager" opens list of apps that can auto-start (presumably, run at system boot).

am start com.iqoo.secure/.ui.powersaving.PowerSavingManagerActivity opens battery settings directly.

am start com.iqoo.secure/.ui.phoneoptimize.AddWhiteListActivity opens an app whitelist, which doesn't seem to be reachable through the normal UI. This list protects apps from the iManager app's optimisation button.

Tecno and Infinix

Hi,

Thank you for developing this library. Have you been able to add more manufacturers? I am specifically looking for Tecno and Infinix. I am building an app in Africa and they are the biggest OEMs here. like 70% of my user base can not receive notifications.

If not, do you have any ideas on how to get the intent I need to call for this 2 OEMs. i have searched for contacts to their developer support and i don't think it exists.

Please let me know if you can help.

Regards
Simon

HTC Boost+

There's the HTC Boost+ app - it's an extra app, can be started from the launcher, or with an intent: new Intent().setComponent(ComponentName("com.htc.pitroad", "com.htc.pitroad.landingpage.activity.LandingPageActivity"))
Then select "Manage background apps" (or similar, unsure about the localization here). Can turn off the mechanism completely, or set app-by-app whether background execution should be

  • allowed
  • forbidden
  • forbidden after 3 days of not-foreground.

Can't launch the background app management activity directly. I have no idea which HTC models specifically are concerned.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.