Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-10 Thread Peter Merchant

On 03/05/2023 17:40, Peter Merchant wrote:

On 03/05/2023 17:15, Tim wrote:

In regards to gkrellm look in your home folder from .gkrellm2. open this folder and look 
for user-config file, there is a setting in there called "save_position" (about 
line 16), remove the numerical value, reboot or log out the desktop, move Gkrellm to the 
required location, right click on the GKrellm monitor and select configuration, select 
General, Properties Tab and select the following three options Set sticky state, set on 
top of other windows of the same type, Set window type to be a dock or panel, click OK. 
It should now stay there if it still does not work try changing the theme, I am using 
clockwork Cobalt without issue.


The running version gkrellm 2.3.11 on Mint 21.1 XFCE


Hope it helps


I hope that it does too. I set to sticky as suggested, but didn't like what it 
did if I set Window type to be dock/panel, But on the first config screen was a 
'remember location for next startup' so I ticked that.

We will see over the next few days if that has resolved it. Thanks for your 
help.  I am on the same version.

Peter




10 May. This seems to have worked so far.

Peter


--
 Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-04 Thread Hugh Frater
If you want to push more than 500mA into your phones then you need a
charger that supports one of the quick charge protocols that are used in
your phones. Given that most phones are built on Qualcomm SOCs, a charger
with their QC protocol is a good starting point.

I suspect that the tablet and charger do support some level of charge
negotiation, hence why you are seeing 1A when charging that device.

Generic usb-a 500mA chargers are only of any use for charging bike lights,
imho.

On Thu, 4 May 2023 at 08:26, Peter Merchant 
wrote:

> I am just an ancient retired Electronics Engineer, but I cannot see how a
> QC3/4/5 charger is going to help my charging. My tests were done with the
> same charger and cable and three different devices that needed to be
> charged. The only parameter that was changed was the devices, and they
> charged at different rates so the implication to me is that the charging
> circuitry in the phones is limiting the current.   This test was repeated
> with  as said below with 6 chargers.
>
> Peter
>
>
> On 04/05/2023 05:10, Hugh Frater wrote:
>
> Ah, the joys of USB charging protocols. It’s taken nearly 20yrs and they
> still haven’t got a reliable, performant solution. USB-pd gets it nearly
> correct, but it’s still not perfect.
>
> Slow charging speeds are also very much caused by the cable type. Back
> when I was charging micro-usb based smartphones I went through a handful of
> cables and anything that negotiated at <2a went in the bin. There really is
> a lot of junk out there. A USB power meter and a qc3 compatible charger is
> a good starting point.
>
>
> On Wed, 3 May 2023 at 18:19, Peter Merchant 
> wrote:
>
>>
>> >> I didn't make last night.  My problem is the Android phone which I use
>> >> for Jitsi now stays permanently ‘Awake’, burning through 100% of
>> battery
>> >> in about four hours.  The battery chart's detail has ‘Media’ as one of
>> >> the top two users, but the percentage of all those that are listed is
>> >> well under 50%.  I suspect Media though because clicking it shows it is
>> >> Awake for 100% of the time and used CPU for about 50% of it. Perhaps
>> >> that's a dual-core thing.
>>
>> What app is this battery chart?  SWMBO keeps complaining that her tablet
>> doesn't hold a charge overnight, and I wonder what she has running. I have
>> just installed Accubattery.
>>
>> Dear S-in-L who is an Electrical Engineer, suggests getting a better
>> charger with more oomph. All of the chargers that I have are rated at
>> 5V/1A. Charging the two phones in the house shows the device drawing
>> approx 500ma, and the same charger on my tablet is giving >1A.   I have
>> repeated this on about 6 chargers.  So it ain't the fault of the charger.
>> [ I just plugged my tablet into a powerbank, and it is getting ~667mA. ]
>>
>> Peter
>>
>>
>>
>> --
>>   Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
>>   Check to whom you are replying
>>   Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
>>   New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk
>>
> --
> Sent from my iPhone
>
>
> --
Sent from my iPhone
-- 
  Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-04 Thread Peter Merchant

I am just an ancient retired Electronics Engineer, but I cannot see how a 
QC3/4/5 charger is going to help my charging. My tests were done with the same 
charger and cable and three different devices that needed to be charged. The 
only parameter that was changed was the devices, and they charged at different 
rates so the implication to me is that the charging circuitry in the phones is 
limiting the current. This test was repeated with  as said below with 6 
chargers.

Peter


On 04/05/2023 05:10, Hugh Frater wrote:

Ah, the joys of USB charging protocols. It’s taken nearly 20yrs and they still 
haven’t got a reliable, performant solution. USB-pd gets it nearly correct, but 
it’s still not perfect.

Slow charging speeds are also very much caused by the cable type. Back when I was 
charging micro-usb based smartphones I went through a handful of cables and 
anything that negotiated at <2a went in the bin. There really is a lot of junk 
out there. A USB power meter and a qc3 compatible charger is a good starting point.


On Wed, 3 May 2023 at 18:19, Peter Merchant  wrote:


>> I didn't make last night.  My problem is the Android phone which I use
>> for Jitsi now stays permanently ‘Awake’, burning through 100% of battery
>> in about four hours.  The battery chart's detail has ‘Media’ as one of
>> the top two users, but the percentage of all those that are listed is
>> well under 50%.  I suspect Media though because clicking it shows it is
>> Awake for 100% of the time and used CPU for about 50% of it. Perhaps
>> that's a dual-core thing.

What app is this battery chart?  SWMBO keeps complaining that her tablet 
doesn't hold a charge overnight, and I wonder what she has running. I have just 
installed Accubattery.

Dear S-in-L who is an Electrical Engineer, suggests getting a better charger 
with more oomph. All of the chargers that I have are rated at 5V/1A. Charging the 
two phones in the house shows the device drawing  approx 500ma, and the same 
charger on my tablet is giving >1A.   I have repeated this on about 6 chargers. 
 So it ain't the fault of the charger.  [ I just plugged my tablet into a 
powerbank, and it is getting ~667mA. ]

Peter



-- 
  Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00

  Check to whom you are replying
  Meetings, mailing list, IRC, ... http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

--
Sent from my iPhone


--
 Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-03 Thread Hugh Frater
Ah, the joys of USB charging protocols. It’s taken nearly 20yrs and they
still haven’t got a reliable, performant solution. USB-pd gets it nearly
correct, but it’s still not perfect.

Slow charging speeds are also very much caused by the cable type. Back when
I was charging micro-usb based smartphones I went through a handful of
cables and anything that negotiated at <2a went in the bin. There really is
a lot of junk out there. A USB power meter and a qc3 compatible charger is
a good starting point.


On Wed, 3 May 2023 at 18:19, Peter Merchant 
wrote:

>
> >> I didn't make last night.  My problem is the Android phone which I use
> >> for Jitsi now stays permanently ‘Awake’, burning through 100% of battery
> >> in about four hours.  The battery chart's detail has ‘Media’ as one of
> >> the top two users, but the percentage of all those that are listed is
> >> well under 50%.  I suspect Media though because clicking it shows it is
> >> Awake for 100% of the time and used CPU for about 50% of it. Perhaps
> >> that's a dual-core thing.
>
> What app is this battery chart?  SWMBO keeps complaining that her tablet
> doesn't hold a charge overnight, and I wonder what she has running. I have
> just installed Accubattery.
>
> Dear S-in-L who is an Electrical Engineer, suggests getting a better
> charger with more oomph. All of the chargers that I have are rated at
> 5V/1A. Charging the two phones in the house shows the device drawing
> approx 500ma, and the same charger on my tablet is giving >1A.   I have
> repeated this on about 6 chargers.  So it ain't the fault of the charger.
> [ I just plugged my tablet into a powerbank, and it is getting ~667mA. ]
>
> Peter
>
>
>
> --
>   Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
>   Check to whom you are replying
>   Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
>   New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk
>
-- 
Sent from my iPhone
-- 
  Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-03 Thread Peter Merchant



I didn't make last night.  My problem is the Android phone which I use
for Jitsi now stays permanently ‘Awake’, burning through 100% of battery
in about four hours.  The battery chart's detail has ‘Media’ as one of
the top two users, but the percentage of all those that are listed is
well under 50%.  I suspect Media though because clicking it shows it is
Awake for 100% of the time and used CPU for about 50% of it. Perhaps
that's a dual-core thing.


What app is this battery chart?  SWMBO keeps complaining that her tablet 
doesn't hold a charge overnight, and I wonder what she has running. I have just 
installed Accubattery.

Dear S-in-L who is an Electrical Engineer, suggests getting a better charger with 
more oomph. All of the chargers that I have are rated at 5V/1A. Charging the two 
phones in the house shows the device drawing  approx 500ma, and the same charger 
on my tablet is giving >1A.   I have repeated this on about 6 chargers.  So it 
ain't the fault of the charger.  [ I just plugged my tablet into a powerbank, and 
it is getting ~667mA. ]

Peter



--
 Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-03 Thread Peter Merchant

On 03/05/2023 17:15, Tim wrote:

In regards to gkrellm look in your home folder from .gkrellm2. open this folder and look 
for user-config file, there is a setting in there called "save_position" (about 
line 16), remove the numerical value, reboot or log out the desktop, move Gkrellm to the 
required location, right click on the GKrellm monitor and select configuration, select 
General, Properties Tab and select the following three options Set sticky state, set on 
top of other windows of the same type, Set window type to be a dock or panel, click OK. 
It should now stay there if it still does not work try changing the theme, I am using 
clockwork Cobalt without issue.


The running version gkrellm 2.3.11 on Mint 21.1 XFCE


Hope it helps


I hope that it does too. I set to sticky as suggested, but didn't like what it 
did if I set Window type to be dock/panel, But on the first config screen was a 
'remember location for next startup' so I ticked that.

We will see over the next few days if that has resolved it. Thanks for your 
help.  I am on the same version.

Peter



--
 Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Window positioning and Android permanently Awake. (Was: Next Meeting - One Week Tonight)

2023-05-03 Thread Tim
In regards to gkrellm look in your home folder from .gkrellm2. open this 
folder and look for user-config file, there is a setting in there called 
"save_position" (about line 16), remove the numerical value, reboot or 
log out the desktop, move Gkrellm to the required location, right click 
on the GKrellm monitor and select configuration, select General, 
Properties Tab and select the following three options Set sticky state, 
set on top of other windows of the same type, Set window type to be a 
dock or panel, click OK. It should now stay there if it still does not 
work try changing the theme, I am using clockwork Cobalt without issue.



The running version gkrellm 2.3.11 on Mint 21.1 XFCE


Hope it helps


Tim H




On 03/05/2023 11:00, Ralph Corderoy wrote:

Hi Peter,


why does Gkrellm sometimes come up in the centre of the screen when
I start the computer, and mostly in the top left where I want it and
always move it to.

Windows are normally placed by the window manager.  These days, the WM
comes as part of the desktop environment.  I think you use Kubuntu.
Searching suggests Kubuntu's WM is called KWin.
https://userbase.kde.org/KWin

If that is the WM you're using, then that web page is a good starting
point and mentions fixing the starting position of a window as well as
linking to a page on stating general rules for windows.

I expect the default is to place it centrally if possible but move it so
as to avoid overlapping other windows if needed.  This means the end
position depends on what windows are already open and where they are.
If several programs are starting then the order of there windows
appearing may vary with the knock-on effect on Gkrellm's end position.


I didn't make last night.  My problem is the Android phone which I use
for Jitsi now stays permanently ‘Awake’, burning through 100% of battery
in about four hours.  The battery chart's detail has ‘Media’ as one of
the top two users, but the percentage of all those that are listed is
well under 50%.  I suspect Media though because clicking it shows it is
Awake for 100% of the time and used CPU for about 50% of it.  Perhaps
that's a dual-core thing.

By going through each of the Apps under Settings and doing Force Stop,
I got the battery chart's line horizontal for about three hours but then
something started it diving again on the fixed gradient to 0%.

Airplane mode doesn't help.  Battery Saver mode only changes the
gradient a little.  I've now uninstalled what apps I can, disabled many
more, including fundamentals like Phone and Messages.  The problem
probably isn't Media itself but something making use of it.  My current
suspect is Google Play.

Google finds many other people complaining of Media keeping a phone
awake over the years with no fix.  The problem started after the phone
didn't received the Government's emergency message, though that's
probably just correlation.  :-)


--
 Next meeting: Online, Jitsi, Tuesday, 2023-06-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk