medhachaitanya / Pure-Battery-Analytics

Pure Battery Analytics is the best battery application for Windows laptops on the Microsoft store. This is a repository for Pure Battery Analytics. Both the System Tray Add-on & Main Application.
https://medhachaitanya.github.io/Pure-Battery-Analytics/
94 stars 10 forks source link

Suggestion: Charge state-dependent notifications #19

Open Lord-Memester opened 3 months ago

Lord-Memester commented 3 months ago

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, or both for each of the individual user-specified notification-associated percentages would be greatly appreciated.

medhachaitanya commented 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:

In summary, using the minus symbol (-) specifies that the notification should be shown when the battery is discharging.

Lord-Memester commented 3 months ago

Excellent! An additional suggestion to consider:

I 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:

medhachaitanya commented 3 months ago

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.

Lord-Memester commented 3 months ago

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.

medhachaitanya commented 3 months ago

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: @.***>

Lord-Memester commented 3 months ago

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. image (-30, 50) image (-30, -50)

If we remove the space, it registers as valid. image (-30,50) image (-30,-50)

The entry with a space between seems to be the intended method, so this needs to be fixed.