Re: [Ubuntu-phone] Can't access web resources/images from device
On Wed, Jan 18, 2017 at 5:26 AM, Tom Rausner wrote: > On tirsdag den 17. januar 2017 23.30.14 CET, Mitchell Reese > wrote: >> >> Very weird issue here, and I'm not sure how to troubleshoot it. I started >> having issues on the phone (MX5 Pro) and tablet (M10) with not being able to >> access certain websites... i.e. - www.inkl.com (which I use for news), >> www.trello.com - both in the webapp I've created, and through the standard >> website. With both sites I'm getting 'Unable to load all resources'... the >> site doesn't display all the css, images look weird, etc. Have started >> noticing this with other sites as well... >> >> No issues working on my desktop Ubuntu setup today, however have had to >> switch to my tablet for a few hours, and am tethered to my phone. No proxies >> setup - any ideas if this is a software issue with my devices, or something >> happening with my connection? Weird, as Trello was working flawlessly with >> both devices yesterday, and fine about 10 minutes ago from my desktop >> machine. >> >> Appreciate any troubleshooting help that can be offered. >> >> Thanks, >> >> Mitchell >> >> > +1 > I've started to have the same problems with some sites but not others... You’re most likely affected by https://launchpad.net/bugs/1656551. This requires an oxide update, which we are preparing, and that will go in OTA-15. -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Can't access web resources/images from device
On tirsdag den 17. januar 2017 23.30.14 CET, Mitchell Reese wrote: Very weird issue here, and I'm not sure how to troubleshoot it. I started having issues on the phone (MX5 Pro) and tablet (M10) with not being able to access certain websites... i.e. - www.inkl.com (which I use for news), www.trello.com - both in the webapp I've created, and through the standard website. With both sites I'm getting 'Unable to load all resources'... the site doesn't display all the css, images look weird, etc. Have started noticing this with other sites as well... No issues working on my desktop Ubuntu setup today, however have had to switch to my tablet for a few hours, and am tethered to my phone. No proxies setup - any ideas if this is a software issue with my devices, or something happening with my connection? Weird, as Trello was working flawlessly with both devices yesterday, and fine about 10 minutes ago from my desktop machine. Appreciate any troubleshooting help that can be offered. Thanks, Mitchell +1 I've started to have the same problems with some sites but not others... -- Sent using Dekko from my Ubuntu device -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Music player
You can first try deleting Music apps data/cache in .local/share, .config and .cache. If that won't solve it, you try Phoenix Player from the store. Not sure how good it is in playing but I use it for Podcast and it works fine. On Wednesday, January 18, 2017 6:25:32 AM PHT, Francisco Pina Martins wrote: If you are **really** desperate, you can use "aplay" from the terminal. AFAIK it can play mp3 files... Francisco On 17-01-2017 16:46, Marcin Xc wrote: Hi, My music player hangs on loading and doesn't work any more since a long time. Is there ANY way to play music offline? As I see there is no other music player in Ubuntu Shop. Can I somehow start playing music through the terminal? I just want my phone to start playing mp3 files from a phone memory/sd card. No pause, no skip, just play. Any ideas? Best regards Marcin -- Sent using Dekko from my Ubuntu device -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Battery
* Cesar Herrera wrote: > So it would be interesting display the Voltage. You can get this information here: /sys/class/power_supply/battery/voltage_now ... or somewhere similar, depending on the exact device. It's not perfect, but it's usually pretty close under normal circumstances. Divide by 1,000,000 to get voltage: # cat voltage_now 4323000 So, it says it's at 4.323 V. My meter says it's 4.346 V, but that's close enough. The meter is more accurate than the kernel. * Marcin Xc wrote: > There is one more thing I'd like to add to this discussion that > You can see in the picture: > http://ep.com.pl/cache/images/norm/3/1/7/ > c3JjPS9pbWFnZXMvbm9ybS8zLzEvNy8xMzMxN2FrdW11bGF0b3J5X3J5c18yMC5qcGcmdz05MDAmaD01OTQ > =_srcb9bd5f071626572b62658662f22e4c3d.jpg FWIW, I measured and graphed a charge like that on arale: http://toykeeper.net/tmp/phablet/power/arale.charge.png It uses a nice 3-stage charging algorithm. I'm not too happy about how it behaves after it's fully charged though. It's bad for the battery to sit idle in a nearly-full charge-discharge cycle. So, don't leave the phone plugged in while it's full. > The green line "Pojemnosc" is capacity. The red one "Napiecie > ogniwa" is voltage. In a healthy Li-Ion battery You can pretty > easily display the capacity if You know the voltage. Yes, if you know the shape of the discharge curve, you can get a pretty good estimate of the remaining capacity. The discharge curve depends on the cell type, make, model, age, current draw, etc. It typically needs recalibration over time as the cell ages, and it's best to have curve data for multiple levels of amperage. Here are the discharge curves for some common 18650 cells at 0.2A: http://www.lygte-info.dk/pic/Batteries2011/All18650/Capacity-0.2A.png Personally, I prefer to just check the voltage directly and keep a rough mental map of the curve in my head. > behind a kind of an overcharging/ totally discharging/overheat > protecting firewall. If Your phone doesn't stand up it doesn't > mean that the battery is under 2V or 1V, zero and empty. It > means that the electronic security doesn't allow You to turn it > on any more to protect Your battery chemically. Draining this type of cell too far will damage it. Many 4.2V protection circuits will cut off at 2.7V. These phones use 4.35V cells, but I haven't tested to see if it has a protection circuit or where its limits are. I find that the phone's OS will shut itself off at about 3.2V, but I suspect the protection circuit doesn't activate until a bit lower. -- Selene -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Can't access web resources/images from device
On 18/01/17 09:30, Mitchell Reese wrote: Very weird issue here, and I'm not sure how to troubleshoot it. I started having issues on the phone (MX5 Pro) and tablet (M10) with not being able to access certain websites... i.e. - www.inkl.com (which I use for news), www.trello.com - both in the webapp I've created, and through the standard website. With both sites I'm getting 'Unable to load all resources'... the site doesn't display all the css, images look weird, etc. Have started noticing this with other sites as well... No issues working on my desktop Ubuntu setup today, however have had to switch to my tablet for a few hours, and am tethered to my phone. No proxies setup - any ideas if this is a software issue with my devices, or something happening with my connection? Weird, as Trello was working flawlessly with both devices yesterday, and fine about 10 minutes ago from my desktop machine. Appreciate any troubleshooting help that can be offered. Thanks, Mitchell Ok, further troubleshooting - it's not anything to do with my internet connection. My desktop computer tethered to my phone works fine - issue is with both my tablet and Mx5pro running stable. Any idea how to fix this? Both webapps and browser are affected. Thanks. Mitchell -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] Can't access web resources/images from device
Very weird issue here, and I'm not sure how to troubleshoot it. I started having issues on the phone (MX5 Pro) and tablet (M10) with not being able to access certain websites... i.e. - www.inkl.com (which I use for news), www.trello.com - both in the webapp I've created, and through the standard website. With both sites I'm getting 'Unable to load all resources'... the site doesn't display all the css, images look weird, etc. Have started noticing this with other sites as well... No issues working on my desktop Ubuntu setup today, however have had to switch to my tablet for a few hours, and am tethered to my phone. No proxies setup - any ideas if this is a software issue with my devices, or something happening with my connection? Weird, as Trello was working flawlessly with both devices yesterday, and fine about 10 minutes ago from my desktop machine. Appreciate any troubleshooting help that can be offered. Thanks, Mitchell -- Sent using Dekko from my Ubuntu device -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Music player
If you are **really** desperate, you can use "aplay" from the terminal. AFAIK it can play mp3 files... Francisco On 17-01-2017 16:46, Marcin Xc wrote: Hi, My music player hangs on loading and doesn't work any more since a long time. Is there ANY way to play music offline? As I see there is no other music player in Ubuntu Shop. Can I somehow start playing music through the terminal? I just want my phone to start playing mp3 files from a phone memory/sd card. No pause, no skip, just play. Any ideas? Best regards Marcin -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Battery
So it would be interesting display the Voltage. Cheers, Cesar 17.01.2017, 15:52, "Marcin Xc" : > There is one more thing I'd like to add to this discussion that You can see > in the picture: > http://ep.com.pl/cache/images/norm/3/1/7/c3JjPS9pbWFnZXMvbm9ybS8zLzEvNy8xMzMxN2FrdW11bGF0b3J5X3J5c18yMC5qcGcmdz05MDAmaD01OTQ=_srcb9bd5f071626572b62658662f22e4c3d.jpg > > The green line "Pojemnosc" is capacity. The red one "Napiecie ogniwa" is > voltage. In a healthy Li-Ion battery You can pretty easily display the > capacity if You know the voltage. At least till ~~4V. Then You see these > magical 99% that need longer. Why they need longer You can see in the > picture: when the voltage says 4-4.1V the battery has only 83% of its > capacity, in this case. > What is the other case? The other case are different Li-ion Batteries. No of > Your batteries is >Li<-ion. They are for example LiFeYPO4 or LiFePo4 also > called more correctly LCO, LMO, LMC, NMC, LFP. They have different capacity > at their 4-4.1V. If You see on the display that Your battery is 99% full it > can mean that it has something about 3,9-4,1V and that means it is only > 60-80% full (picture). > > I still wonder why I do not have absolutely ANY problems with my battery > (E4.5, OTA14) and the only answer that came to my mind is that perhaps my > battery is different than Yours? If any of You would like me to crash test my > battery, just write me what I shall do to join the bug report. There are only > two things I won't do: I will not let the capacity drop under 20-30% level (I > already experienced that this phone doesn't like it) and I will not leave my > phone connected to the charger longer than needed when it reaches the 100% > level. > > One more thing: between the physical "+/-" battery and the physical phone > there are always electronic pieces that tells You the voltage and that are > responsible for it. So the real battery (as we can see and touch in a car) > stays in a phone/Notebook/mp3player always behind a kind of an > overcharging/totally discharging/overheat protecting firewall. If Your phone > doesn't stand up it doesn't mean that the battery is under 2V or 1V, zero and > empty. It means that the electronic security doesn't allow You to turn it on > any more to protect Your battery chemically. > > Best regards > > Marcin > > > From: Selene Scriven > To: Matthias Apitz ; ubuntu-phone@lists.launchpad.net > Sent: Monday, January 16, 2017 7:04 PM > Subject: Re: [Ubuntu-phone] Battery statistics and flashing bricks > > * Matthias Apitz wrote: >> Yes, exactly like this, with meters in addition. > > Although not shown in the picture, I have the phones instrumented > with meters along the path for primary power and USB, and use it > to check power consumption on each new build. > > For example, here is a summary of one type of krillin power usage > for 50 builds during a time when a relevant bug was introduced: > > > http://toykeeper.net/tmp/phablet/power/krillin-rc-proposed,en-power_usage_display_on-287-336-smooth.png > > Toward the right side, it spikes for several builds until we had > the bug isolated and fixed. The red columns indicate when it > thinks there is a new bug, and green is when it thinks something > was improved. The blue area is where it expects the result to be > based on recent measurements. So, bug found and fixed. If I > recall correctly, this particular bug was the reason an OTA > release got delayed. > > Then a few builds later, in r335, it noticed an unusually high > variation between individual measurements, and marked that build > for inspection. For context, here is a more detailed graph for > r334, when everything was behaving: > > http://toykeeper.net/tmp/phablet/power/krillin.334.display.png > > The green section is the part of the measurement it "counts" for > the test. Red sections mean USB was plugged in so those values > aren't relevant. In this case, it's just letting the phone idle > with the screen on right after booting. Five measurements, and > they're all pretty consistent. > > Then in the next build it had one measurement which didn't look > quite right: > > http://toykeeper.net/tmp/phablet/power/krillin.335.display.png > > So it marked that build for inspection, with detailed logs > available to help identify what happened. > > This is how we've been detecting and fixing power consumption > bugs, making sure each new OTA is the same or better than the > ones before it. But that's mostly for userspace bits. Kernel > and firmware issues are trickier. > >> hat I do not understand is the issue my wife sees from time to >> time: her device shows 50% or 60% of remaining capacity, for >> longer time (due to nearly no use of the device), and within >> minutes the capacity goes to zero and the BQ E4.5 is a brick in >> her pocket. I understand what you say, Selene, about >> discrepancies in the layers an error in interpreting t
[Ubuntu-phone] Music player
Hi, My music player hangs on loading and doesn't work any more since a long time. Is there ANY way to play music offline? As I see there is no other music player in Ubuntu Shop. Can I somehow start playing music through the terminal? I just want my phone to start playing mp3 files from a phone memory/sd card. No pause, no skip, just play. Any ideas? Best regards Marcin -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] Battery
There is one more thing I'd like to add to this discussion that You can see in the picture:http://ep.com.pl/cache/images/norm/3/1/7/c3JjPS9pbWFnZXMvbm9ybS8zLzEvNy8xMzMxN2FrdW11bGF0b3J5X3J5c18yMC5qcGcmdz05MDAmaD01OTQ=_srcb9bd5f071626572b62658662f22e4c3d.jpg The green line "Pojemnosc" is capacity. The red one "Napiecie ogniwa" is voltage. In a healthy Li-Ion battery You can pretty easily display the capacity if You know the voltage. At least till ~~4V. Then You see these magical 99% that need longer. Why they need longer You can see in the picture: when the voltage says 4-4.1V the battery has only 83% of its capacity, in this case.What is the other case? The other case are different Li-ion Batteries. No of Your batteries is >Li<-ion. They are for example LiFeYPO4 or LiFePo4 also called more correctly LCO, LMO, LMC, NMC, LFP. They have different capacity at their 4-4.1V. If You see on the display that Your battery is 99% full it can mean that it has something about 3,9-4,1V and that means it is only 60-80% full (picture). I still wonder why I do not have absolutely ANY problems with my battery (E4.5, OTA14) and the only answer that came to my mind is that perhaps my battery is different than Yours? If any of You would like me to crash test my battery, just write me what I shall do to join the bug report. There are only two things I won't do: I will not let the capacity drop under 20-30% level (I already experienced that this phone doesn't like it) and I will not leave my phone connected to the charger longer than needed when it reaches the 100% level. One more thing: between the physical "+/-" battery and the physical phone there are always electronic pieces that tells You the voltage and that are responsible for it. So the real battery (as we can see and touch in a car) stays in a phone/Notebook/mp3player always behind a kind of an overcharging/totally discharging/overheat protecting firewall. If Your phone doesn't stand up it doesn't mean that the battery is under 2V or 1V, zero and empty. It means that the electronic security doesn't allow You to turn it on any more to protect Your battery chemically. Best regards Marcin From: Selene Scriven To: Matthias Apitz ; ubuntu-phone@lists.launchpad.net Sent: Monday, January 16, 2017 7:04 PM Subject: Re: [Ubuntu-phone] Battery statistics and flashing bricks * Matthias Apitz wrote: > Yes, exactly like this, with meters in addition. Although not shown in the picture, I have the phones instrumented with meters along the path for primary power and USB, and use it to check power consumption on each new build. For example, here is a summary of one type of krillin power usage for 50 builds during a time when a relevant bug was introduced: http://toykeeper.net/tmp/phablet/power/krillin-rc-proposed,en-power_usage_display_on-287-336-smooth.png Toward the right side, it spikes for several builds until we had the bug isolated and fixed. The red columns indicate when it thinks there is a new bug, and green is when it thinks something was improved. The blue area is where it expects the result to be based on recent measurements. So, bug found and fixed. If I recall correctly, this particular bug was the reason an OTA release got delayed. Then a few builds later, in r335, it noticed an unusually high variation between individual measurements, and marked that build for inspection. For context, here is a more detailed graph for r334, when everything was behaving: http://toykeeper.net/tmp/phablet/power/krillin.334.display.png The green section is the part of the measurement it "counts" for the test. Red sections mean USB was plugged in so those values aren't relevant. In this case, it's just letting the phone idle with the screen on right after booting. Five measurements, and they're all pretty consistent. Then in the next build it had one measurement which didn't look quite right: http://toykeeper.net/tmp/phablet/power/krillin.335.display.png So it marked that build for inspection, with detailed logs available to help identify what happened. This is how we've been detecting and fixing power consumption bugs, making sure each new OTA is the same or better than the ones before it. But that's mostly for userspace bits. Kernel and firmware issues are trickier. > hat I do not understand is the issue my wife sees from time to > time: her device shows 50% or 60% of remaining capacity, for > longer time (due to nearly no use of the device), and within > minutes the capacity goes to zero and the BQ E4.5 is a brick in > her pocket. I understand what you say, Selene, about > discrepancies in the layers an error in interpreting the > voltage, but I do no see, how can lead this to 50%-to-0% in a > few minutes. Have you found something, which explains this? Yes. Especially when a device spends a lot of time in standby. The daemon which generates that percentage estimate can sometimes go a lon
Re: [Ubuntu-phone] Music app, doesn't update Music folder
It used to help me sometimes a little bit: $ cd .local/share/com.ubuntu.music/Databases $ sqlite3 b01631344d4b1a36d6dec3179aff8784.sqlite "DELETE FROM queue;" From: Pat McGowan To: Emanuele Sorce Cc: "ubuntu-phone@lists.launchpad.net" Sent: Thursday, January 12, 2017 10:58 PM Subject: Re: [Ubuntu-phone] Music app, doesn't update Music folder It sounds like the mediascanner service is not working properly. Please report a bug at https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+filebug and include the logs from /home/phablet/.cache/upstart/mediascanner-2.0.log.*Could also attach /home/phablet/.cache/upstart/application-click-com.ubuntu.music_music*.log Pat On Thu, Jan 12, 2017 at 4:33 PM, Emanuele Sorce wrote: Hi. I use the Music app, but I have problem: The app doesn't update the music accordingly to the Music folder content. Long explaination: After a reflash of the software, I opened the music app, obiouvsly saying to import music, because the directory was empty. So i added music throught usb from my pc, and reopening the app all was fine. Then, proud of my success, I decided to add other music, with usb again, from the same pc. I added some song, I deleted some other ones, I renamed some. When I opened the music app again, nothing changed. Everything was as before. I tried from the UT tweak tool to delete everything (config, cache, datas) completely resetting the app, reboots and combinations of both. Now a month and more is passed, and all my new music seem doesn't exist. What can I do? -- Inviato dal mio dispositivo Ubuntu usando Dekko -- Mailing list: https://launchpad.net/~ubuntu- phone Post to : ubuntu-phone@lists.launchpad. net Unsubscribe : https://launchpad.net/~ubuntu- phone More help : https://help.launchpad.net/ ListHelp -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Battery statistics and flashing bricks
Thank you for the detailed explanation Selene! It actually answered a lot of questions I had had for a while regarding phone and laptop batteries. Best, Francisco On 16-01-2017 18:04, Selene Scriven wrote: * Matthias Apitz wrote: Yes, exactly like this, with meters in addition. Although not shown in the picture, I have the phones instrumented with meters along the path for primary power and USB, and use it to check power consumption on each new build. For example, here is a summary of one type of krillin power usage for 50 builds during a time when a relevant bug was introduced: http://toykeeper.net/tmp/phablet/power/krillin-rc-proposed,en-power_usage_display_on-287-336-smooth.png Toward the right side, it spikes for several builds until we had the bug isolated and fixed. The red columns indicate when it thinks there is a new bug, and green is when it thinks something was improved. The blue area is where it expects the result to be based on recent measurements. So, bug found and fixed. If I recall correctly, this particular bug was the reason an OTA release got delayed. Then a few builds later, in r335, it noticed an unusually high variation between individual measurements, and marked that build for inspection. For context, here is a more detailed graph for r334, when everything was behaving: http://toykeeper.net/tmp/phablet/power/krillin.334.display.png The green section is the part of the measurement it "counts" for the test. Red sections mean USB was plugged in so those values aren't relevant. In this case, it's just letting the phone idle with the screen on right after booting. Five measurements, and they're all pretty consistent. Then in the next build it had one measurement which didn't look quite right: http://toykeeper.net/tmp/phablet/power/krillin.335.display.png So it marked that build for inspection, with detailed logs available to help identify what happened. This is how we've been detecting and fixing power consumption bugs, making sure each new OTA is the same or better than the ones before it. But that's mostly for userspace bits. Kernel and firmware issues are trickier. hat I do not understand is the issue my wife sees from time to time: her device shows 50% or 60% of remaining capacity, for longer time (due to nearly no use of the device), and within minutes the capacity goes to zero and the BQ E4.5 is a brick in her pocket. I understand what you say, Selene, about discrepancies in the layers an error in interpreting the voltage, but I do no see, how can lead this to 50%-to-0% in a few minutes. Have you found something, which explains this? Yes. Especially when a device spends a lot of time in standby. The daemon which generates that percentage estimate can sometimes go a long time between updates... and when it does update it has a tendency to lag. For example, one day I was testing by manually changing the input voltage and recording how the phone responded. What I found was that the kernel's reported voltage lagged behind the actual voltage when the actual voltage decreased quickly, but it tracked closely when voltage increased. Additionally, it sometimes took a while for the reported percent (and built-in charge graph) to catch up. In this graph comparison, the green line is what the power supply voltage was set to, the blue line is what the kernel reported, and the rainbow graph is a screenshot of what the phone reports to its user. After manually dropping the voltage to "almost empty", it took about 40 minutes for the UI to catch up and it did the thing where it went suddenly from like 60% to 0%. http://toykeeper.net/tmp/phablet/power/battgraphs.png Then a bit later (I let it keep measuring), I noticed some other odd behavior. Although it hadn't noticed earlier that the voltage went back up, when it finally updated again it changed the UI's rainbow graph retroactively: http://toykeeper.net/tmp/phablet/power/battgraphs.2.png After the kernel noticed the increased voltage, the UI took over an hour to update. If it drops suddenly to zero, that usually means the battery itself has been dropping for quite a while and the capacity estimation software simply took a long time to catch up. The kernel's reported voltage level isn't perfect, but it's a lot closer to reality than the percent shown in the UI. Of course, there are other factors which make it a bit awkward... like the way battery voltage sags under load then recovers later. Play an intensive game and the cell voltage might sag to 3.4V... but turn the game and screen off and voltage may recover to 3.8V within a couple minutes. So it can be tricky to convert a measurable trait (voltage) into an un-measurable trait (percent charge remaining). And the effective capacity isn't a simple graph from volts to percent; it changes with the discharge load so it's more of a 3-dimensional graph. And as the cell ages, the 3D mapping from voltage+amperage to percent changes, so
Re: [Ubuntu-phone] Battery statistics and flashing bricks
Hello Selene, This is, I think, the most profound statement about all this problem. Thank you for this! El día Monday, January 16, 2017 a las 11:04:31AM -0700, Selene Scriven escribió: > > What I do not understand is the issue my wife sees from time to > > time: her device shows 50% or 60% of remaining capacity, for > > longer time (due to nearly no use of the device), and within > > minutes the capacity goes to zero and the BQ E4.5 is a brick in > > her pocket. I understand what you say, Selene, about > > discrepancies in the layers an error in interpreting the > > voltage, but I do no see, how can lead this to 50%-to-0% in a > > few minutes. Have you found something, which explains this? > > Yes. Especially when a device spends a lot of time in standby. > The daemon which generates that percentage estimate can sometimes > go a long time between updates... and when it does update it has > a tendency to lag. What is the name of this process and does it have some log file (maybe to avtivate) which would log the actual voltage and the derived estimated percentage? > For example, one day I was testing by manually changing the input > voltage and recording how the phone responded. What I found was > that the kernel's reported voltage lagged behind the actual > voltage when the actual voltage decreased quickly, but it tracked > closely when voltage increased. Additionally, it sometimes took > a while for the reported percent (and built-in charge graph) to > catch up. Then we are lost, if already the kernel lags behind the real actual voltage. :-( > ... > In this graph comparison, the green line is what the power supply > voltage was set to, the blue line is what the kernel reported, > and the rainbow graph is a screenshot of what the phone reports > to its user. After manually dropping the voltage to "almost > empty", it took about 40 minutes for the UI to catch up and it > did the thing where it went suddenly from like 60% to 0%. > > http://toykeeper.net/tmp/phablet/power/battgraphs.png > > Then a bit later (I let it keep measuring), I noticed some other > odd behavior. Although it hadn't noticed earlier that the > voltage went back up, when it finally updated again it changed > the UI's rainbow graph retroactively: > > http://toykeeper.net/tmp/phablet/power/battgraphs.2.png > > After the kernel noticed the increased voltage, the UI took over > an hour to update. > > If it drops suddenly to zero, that usually means the battery > itself has been dropping for quite a while and the capacity > estimation software simply took a long time to catch up. > > The kernel's reported voltage level isn't perfect, but it's a lot > closer to reality than the percent shown in the UI. > > Of course, there are other factors which make it a bit awkward... > like the way battery voltage sags under load then recovers later. > Play an intensive game and the cell voltage might sag to 3.4V... > but turn the game and screen off and voltage may recover to 3.8V > within a couple minutes. So it can be tricky to convert a > measurable trait (voltage) into an un-measurable trait (percent > charge remaining). And the effective capacity isn't a simple > graph from volts to percent; it changes with the discharge load > so it's more of a 3-dimensional graph. And as the cell ages, the > 3D mapping from voltage+amperage to percent changes, so it needs > recalibration once in a while. Thanks for the light on this. matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wo ist der antiimperialistische Schutzwall, wenn man ihn braucht? US-Panzertransport durch ex-DDR" "Where is the anti-imperialistic wall, if it's needed? Transport of US-tanks through the ex-GDR" https://deutsch.rt.com/kurzclips/45282-us-panzertransporte-durch-ex-ddr/ -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp