Open Lord-Memester opened 3 months ago
I completely agree. I'm currently working on making it simpler. You can now add any desired percentage, using a minus symbol (-) to indicate discharging.
For example:
-30, -50, 80, 85
will show notifications at 30% and 50% when discharging, and at 80% and 85% when charging.-30, 90
will show notifications at 30% when discharging and at 90% when charging.-30, 30, 90
will show notifications at 30% when discharging and at 30%, 90% when charging.In summary, using the minus symbol (-) specifies that the notification should be shown when the battery is discharging.
Excellent! An additional suggestion to consider:
-
is used as you suggested.+
prepended to a value will notify only when charging.-+
or +-
is prepended, either disallow this in the program and pop up a warning (like when you try to name a file with invalid characters in windows) or have it notify on both charging and dischargingI would personally find this preferable, as it would do away with the need for double entry of values and would visually make more sense. It would also be easy to include a short guide for in the window, like below:
Default behavior is to notify upon being charged to and discharged to any provided value.
For more precise control, prepend:
-
to notify when discharged to the value+
to notify when charged to the valueI like it. Thanks for sharing. I released a build for the aforementioned feature already. I will squeeze some time to work on the new suggestion soon.
I like it. Thanks for sharing. I released a build for the aforementioned feature already. I will squeeze some time to work on the new suggestion soon.
I must say, I cannot find this build. I assume this has been made part of the Pure Battery Percentage Add-On, but this repository hasn't been updated (had any commits) since last year, and I can find no new release on the Microsoft Store when I check for updates.
It's still under processing. You will get a Microsoft store update sometime in the next couple of hours.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Lord-Memester @.> Sent: Sunday, May 26, 2024 1:09:50 PM To: medhachaitanya/Pure-Battery-Analytics @.> Cc: medhachaitanya @.>; Comment @.> Subject: Re: [medhachaitanya/Pure-Battery-Analytics] Suggestion: Charge state-dependent notifications (Issue #19)
I like it. Thanks for sharing. I released a build for the aforementioned feature already. I will squeeze some time to work on the new suggestion soon.
I must say, I cannot find this build. I assume this has been made part of the Pure Battery Percentage Add-On, but this repository hasn't been updated (had any commits) since last year, and I can find no new release on the Microsoft Store when I check for updates.
— Reply to this email directly, view it on GitHubhttps://github.com/medhachaitanya/Pure-Battery-Analytics/issues/19#issuecomment-2132382693, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB4N3LERVBNGPORBW36UQHDZEI6Q5AVCNFSM6AAAAABIJBU576VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGM4DENRZGM. You are receiving this because you commented.Message ID: @.***>
It's still under processing. You will get a Microsoft store update sometime in the next couple of hours.
I've gotten the update now! Found an issue though:
A space between the comma and the number registers as an invalid entry, which is contrary to the example of (-30, 90
) described in the window.
(-30, 50
)
(-30, -50
)
If we remove the space, it registers as valid.
(-30,50
)
(-30,-50
)
The entry with a space between seems to be the intended method, so this needs to be fixed.
I would like more options for when the program sends notifications.
For example, I have a notification set for when the battery is at 30%.
So a setting of being notified
while charging
,while discharging
, orboth
for each of the individual user-specified notification-associated percentages would be greatly appreciated.