Active Topics

 


Reply
Thread Tools
Posts: 637 | Thanked: 445 times | Joined on Dec 2009 @ Kaliningrad, Russia
#351
Hey auouymous!
As you know (or not) I had a problem with my battery (very short battery life) and I posted a few messages in Diablo-turbo topic about that because I thought some of Diablo-turbo packages provoke so powerful battery leaking.
But finally!
If you visit the link you will see that advanced-systemui leaking the battery. And folks from n8xx.com who tried this application got the same problem.

P.S. End why don't you make asui use theme? for example scroll bars for brightness and volume, buttons...

Last edited by Kroll; 2011-02-17 at 21:32.
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#352
Originally Posted by Kroll View Post
If you visit the link you will see that advanced-systemui leaking the battery. And folks from n8xx.com who tried this application got the same problem.
I don't notice any abnormal battery drain on mine but I will run a series of tests to see if ASUI does use more battery than systemui.

Originally Posted by Kroll View Post
P.S. End why don't you make asui use theme? for example scroll bars for brightness and volume, buttons...
Use the system theme? ASUI doesn't use GTK, everything you see is drawn with raw xlib. I do plan to add CSS-like support so you can customize the colors and maybe line thickness and style. This would allow someone to write theme files that are similar to the available maemo themese but users would need to manually install them and match up to the theme they use.
 

The Following User Says Thank You to auouymous For This Useful Post:
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#353
New test binaries up for ASUI (asui dt) and asui-settings (asui ds).
  • fix: connecting the charger no longer unlocks the screen if lock&blank was used to lock it
  • fix: dimmed message will no longer appear while on charger and display stays lit setting is enabled
  • idle and active times are no longer queried on each BME signal
  • red brightness icon above the secure keypad that toggles low/medium/high brightness
  • fix: ASUI properly re-initializes brightness when changed in asui-settings
  • asui-settings now supports all settings
  • memory button can be long pressed to toggle between memory and swap
  • memory is now displayed in four different formats (swap also used these formats)

The GTK settings app is fully functional and the new memory/swap formats can be found in the battery settings.

Memory now has a +/- next to it:
Free (green plus): white/black 31-100%, yellow 11-30%, red 0-10%
Used (red minus): white/black 0-69%, yellow 70-89%, red 90-100%

I don't use swap but tested it by injecting dummy values so let me know if it doesn't work with real values. The button won't have a long press marker if you don't have swap enabled.
 

The Following 4 Users Say Thank You to auouymous For This Useful Post:
Posts: 637 | Thanked: 445 times | Joined on Dec 2009 @ Kaliningrad, Russia
#354
ASUI doesn't use GTK
Got it, thanks.
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#355
Originally Posted by auouymous View Post
I don't notice any abnormal battery drain on mine but I will run a series of tests to see if ASUI does use more battery than systemui.
Does ASUI have any poll or non blocking event loop that could be the cause?

Last edited by maacruz; 2011-02-18 at 12:18.
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#356
Originally Posted by maacruz View Post
Does ASUI have any poll or non blocking event loop that could be the cause?
One thread blocks on select() and the other on dbus_connection_read_write_dispatch(). When ASUI is unmapped or the display is off the select has an infinite timeout and will only wake on events from X, dsme socket or the dbus thread message pipe.

I just finished playing the same song with mplayer for two hours straight, first hour with ASUI and second hour with systemUI, and a charge in between. The battery drained exactly 5.9% per hour with the screen off. ASUI doesn't seem to have any impact on battery life for me. Not sure of any other way to test this, none of ASUI's settings should change anything.

@ maacruz, do you know what non-zero values in /sys/devices/platform/dsp/state represent? When mplayer is active state=3 but the cpu clock is at 400 on the SSU kernel without op_dsp support.
 
Posts: 637 | Thanked: 445 times | Joined on Dec 2009 @ Kaliningrad, Russia
#357
auouymous
Maybe it depends of some packages I have already installed? Some people confirmed this issue and after they deleted ASUI problem has gone. Some people report that they didn't noticed a lot of battery draining.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#358
Some kind of interaction between ASUI and diablo-turbo?
__________________
Be warned, posts are often line of thoughts at highway speeds...
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#359
Originally Posted by auouymous View Post
@ maacruz, do you know what non-zero values in /sys/devices/platform/dsp/state represent? When mplayer is active state=3 but the cpu clock is at 400 on the SSU kernel without op_dsp support.
You are right, when using mplayer state=3, and I can change op_active and op_dsp.
After having a look at the kernel driver, it seems that the dsp has static and dynamic tasks, pcm being static. So, with mplayer the dsp is also active, but the frequencies are not locked.
So there is actually no way to know if the op state is locked, but I can add a vfs entry for that (op_locked).
 
Posts: 86 | Thanked: 8 times | Joined on May 2010
#360
Originally Posted by auouymous View Post
> When I make a connection to OpenSSH, it goes from a blank display
> to "2 clients" If I open a second terminal window to it, it increments
> from 2 to 4.
> Why does each external connection count for 2 rather than 1?

Establishing an ssh connection to your n8x0 and then greping for "sshd" should give you something like this: [...]
The first line is the OpenSSH server, the second line is a client and multiple connections to your n8x0 will result in multiple client processes. Is your server creating multiple processes per client?
OK, I got a chance to check this. There are two client processes listed:
Code:
/home/user # ~ $ ps -A | grep ssh
  982 root       3448 SW  /usr/sbin/sshd
 8525 root       6056 SW  sshd: user [priv]
 8527 user       6056 SW  sshd: user@pts/0
 8547 user       3948 RW  grep ssh
 
Reply

Tags
bada blows, bada rox


 
Forum Jump


All times are GMT. The time now is 01:59.