Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery Draining when no activity is running. #281

Closed
1 task done
TrialMaster opened this issue Jan 16, 2024 · 6 comments
Closed
1 task done

Battery Draining when no activity is running. #281

TrialMaster opened this issue Jan 16, 2024 · 6 comments
Assignees
Labels
bug Something isn't working core Core related issue

Comments

@TrialMaster
Copy link

TrialMaster commented Jan 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

Prevent Sleep Is turned on for each activity. Battery was fully drained from 70% overnight with no activity running
IMG_0055
UCR2_logs_2024-01-16.txt

How to Reproduce

Turn off all activities

Leave remote overnight

Expected behavior

Prevent Sleep was only expected to do so when the activity is running, not prevent sleep when no activity is running.

System version

V1.6.1

What part of the system affected by the problem?

Core

Additional context

Turned off running activity at 21:20. HA Notification for battery below 30% triggered at 02:24

@TrialMaster TrialMaster added the bug Something isn't working label Jan 16, 2024
@github-project-automation github-project-automation bot moved this to Reported in Bug reports Jan 16, 2024
@github-actions github-actions bot added the core Core related issue label Jan 16, 2024
@TrialMaster TrialMaster changed the title BatteryDraining when no activity is running. Battery Draining when no activity is running. Jan 16, 2024
@RomRider
Copy link

Same experience here. Is there anything I can do to help solve this issue? (logs or other...)

@RomRider
Copy link

2024-03-24 12:10:21.691880 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:20.689762 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:19.689875 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:18.689335 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:17.691388 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:16.689035 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:15.689145 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:14.691992 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:13.691833 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:12.691723 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:11.691830 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:10.691308 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:09.689304 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:08.689805 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:07.694487 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:06.689058 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:05.689661 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]
2024-03-24 12:10:04.692252 +00:00	core	NOTICE	Standby mode is inhibited by: ["Active activity 'Shield'", "Active activity 'Plex'"]

This is what I can see in the log even though those activities are Off (they are in the same activity group and shouldn't even be considered both on at the same time)

@zehnm zehnm self-assigned this Mar 25, 2024
@zehnm zehnm moved this from Reported to In Progress in Bug reports Mar 25, 2024
@zehnm zehnm added this to the Roadmap Q1 2024 milestone Mar 25, 2024
@zehnm
Copy link

zehnm commented Mar 25, 2024

Confirmed: the standby inhibitor isn't released if the activity is part of an activity group, and other activities are started as well.

@zehnm zehnm moved this from In Progress to Done in Bug reports Mar 25, 2024
@zehnm
Copy link

zehnm commented Mar 25, 2024

Fixed in next release.
Already available in BETA channel: v1.7.8

@TrialMaster
Copy link
Author

Thanks so much @zehnm

@zehnm
Copy link

zehnm commented May 16, 2024

Fixed in release 1.7.12

@zehnm zehnm closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Core related issue
Projects
Status: Done
Development

No branches or pull requests

3 participants