2013-03-27, 11:43
2013-03-27, 11:43
2013-03-27, 11:58
For what it's worth, it does detect when the battery is about to run out, it sends a notification to XBMC. So atleast that part is working on 10.8.3.
2013-03-27, 12:05
(2013-03-27, 11:58)toiva Wrote: [ -> ]For what it's worth, it does detect when the battery is about to run out, it sends a notification to XBMC. So atleast that part is working on 10.8.3.
Yes I noticed that, that's why i wasn't expecting it to not work...
I wanted to have battery level on HomePage though...
2013-03-27, 12:42
maybe float is needed?
line 341 in DarwinUtils.mm
float batteryLevel = [[UIDevice currentDevice] batteryLevel];
just guessing.
line 341 in DarwinUtils.mm
float batteryLevel = [[UIDevice currentDevice] batteryLevel];
Code:
int DarwinBatteryLevel(void)
{
float batteryLevel = 0;
#if defined(TARGET_DARWIN_IOS)
if(!DarwinIsAppleTV2())
float batteryLevel = [[UIDevice currentDevice] batteryLevel];
#else
blah blah blah
#endif
return batteryLevel * 100;
}
just guessing.
2013-03-27, 14:06
well even my OE/Win7 reports 0% and i don't have a battery and just use normal power cable.
Sound something that could be fixed i guess
Sound something that could be fixed i guess
2013-03-27, 14:11
(2013-03-27, 14:06)Martijn Wrote: [ -> ]well even my OE/Win7 reports 0% and i don't have a battery and just use normal power cable.
Sound something that could be fixed i guess
sweet Thanks!!
also system.CPUUsage returns.. 0%....
2013-03-27, 14:12
can you create a ticket for that on trac? also refer to this thread.
i tend to forget as i can't access it here at work
i tend to forget as i can't access it here at work
2013-03-27, 14:29
trac ticket submitted.
2013-03-27, 19:53
update_
it does show 100% when battery is full.
it does show 100% when battery is full.
2013-09-01, 08:20
2013-09-01, 08:21
(2013-03-27, 14:11)fastcolors Wrote: [ -> ](2013-03-27, 14:06)Martijn Wrote: [ -> ]well even my OE/Win7 reports 0% and i don't have a battery and just use normal power cable.
Sound something that could be fixed i guess
sweet Thanks!!
also system.CPUUsage returns.. 0%....
https://github.com/xbmc/xbmc/commit/981c...5c291cba34