Thread
:
[ANNOUNCED] LED-Battery Indicator -Major Update
View Single Post
kaos_king
2010-11-02 , 14:49
Posts: 284 | Thanked: 74 times | Joined on Mar 2010 @ Wigan, UK
#
61
bakuur, do you know what/where activates the 'PatternBatteryCharging'?
**Edit** - Ok, what I was thinking wont work so the above question doesnt really matter. I want what you have done - changing colour of led's for the battery charge amount, but I want it whilst its charging so i know roughly how long is left before the battery is full.
The command
Code:
`hal-device bme | grep battery.charge_level.current | awk '{print $3}'`
will not work when its on charge, it reports the value of when it was put on charge. For example, i put it on charge when the battery was on 1, then kept running the command and it still reports 1 unless I unplugged it to which it was actually at 7.
Ideally i want both:
- Changing colour led's with the pattern you have got it at now
- Changing colour led's when on charge with the charge pattern
This is so that I know what the battery level is and also whether it is on charge or not.
Do you have any ideas on how to do this?
Last edited by kaos_king; 2010-11-02 at
15:08
.
Quote & Reply
|
kaos_king
View Public Profile
Send a private message to kaos_king
Find all posts by kaos_king