View Single Post
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1308
Somewhat related to the above, I think you all know this scenario:
You connect the charger over night and in the morning you find your device with only something like 93% batterypower, because it is online all the time no matter if you have powersaving enabled or not.

Now I would like to use profilematic to kill that data-connection as soon as 100% charging are reached (to act like in regular powersaving mode as if charger was not in place).
Ideally, deactivating the rule(s) would be triggered by unplugging the charger.

Is this possible? - If so, what would the steps be?
(I see I can combine charging state and battery level as conditions, but charging state doesn't differentiate between actually charging and charger connected, but actually not charging, right?)
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member